diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-06-27 19:23:06 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-06-27 19:23:06 +0000 |
| commit | 45f373f3319b598d8e0222fb48e9d3a4760b2044 (patch) | |
| tree | 846a9ec382567267b09e63c3dde2e1f20cbbffb5 /src/inkview.cpp | |
| parent | Move constructor/destructor into private section, remove protected section. R... (diff) | |
| download | inkscape-45f373f3319b598d8e0222fb48e9d3a4760b2044.tar.gz inkscape-45f373f3319b598d8e0222fb48e9d3a4760b2044.zip | |
5. Refactoring of Application class: make copy/assignment operators private, disallow pointers to Application
(bzr r13341.5.9)
Diffstat (limited to 'src/inkview.cpp')
| -rw-r--r-- | src/inkview.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp index 721b4784f..a44d755eb 100644 --- a/src/inkview.cpp +++ b/src/inkview.cpp @@ -62,8 +62,6 @@ #include "inkscape.h" -Inkscape::Application *inkscape; - #include <iostream> #ifndef HAVE_BIND_TEXTDOMAIN_CODESET @@ -233,7 +231,7 @@ main (int argc, const char **argv) ss.fullscreen = false; Inkscape::Application::create(argv[0], true); - inkscape = Inkscape::Application::instance(); + //Inkscape::Application &inkscape = Inkscape::Application::instance(); // starting at where the commandline options stopped parsing because // we want all the files to be in the list @@ -571,7 +569,7 @@ static void usage() exit(1); } -#ifdef XXX +#if 0 /* TODO !!! make this temporary stub unnecessary */ Inkscape::Application *inkscape_get_instance() { return NULL; } void inkscape_ref (void) {} |
