summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-03-01 07:14:09 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-03-01 07:14:09 +0000
commit051263fbb548b952be3809a00a18a3ea63efbfdb (patch)
tree4c760ff74adac703395d02b83cc7988a7d15df91 /src/main.cpp
parentr14578@tres: ted | 2007-02-27 18:59:35 -0800 (diff)
downloadinkscape-051263fbb548b952be3809a00a18a3ea63efbfdb.tar.gz
inkscape-051263fbb548b952be3809a00a18a3ea63efbfdb.zip
r14579@tres: ted | 2007-02-27 19:00:22 -0800
Adding in an extension init in arguably the wrong place, but it does make the code much more readable. I guess that makes it the right place then doesn't it? ;) (bzr r2476)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 50aaf99a7..4476b3892 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1377,6 +1377,11 @@ sp_process_args(poptContext ctx)
break;
}
case SP_ARG_VERB_LIST: {
+ // This really shouldn't go here, we should init the app.
+ // But, since we're just exiting in this path, there is
+ // no harm, and this is really a better place to put
+ // everything else.
+ Inkscape::Extension::init();
Inkscape::Verb::list();
exit(0);
break;