summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 16cc036)
raw | patch | inline | side by side (parent: 16cc036)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Thu, 1 Mar 2007 07:14:09 +0000 (07:14 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Thu, 1 Mar 2007 07:14:09 +0000 (07:14 +0000) |
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? ;)
make the code much more readable. I guess that makes it the right place
then doesn't it? ;)
src/main.cpp | patch | blob | history |
diff --git a/src/main.cpp b/src/main.cpp
index 50aaf99a7cbfe47fd7cb25fbab11721efba34f3c..4476b3892940c5f9d0f4d93934c8d23dfde331f0 100644 (file)
--- a/src/main.cpp
+++ b/src/main.cpp
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;