From: gouldtj Date: Thu, 1 Mar 2007 07:14:09 +0000 (+0000) Subject: r14579@tres: ted | 2007-02-27 19:00:22 -0800 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3abacc56a45005317f51918f7c96c898065cb738;p=inkscape.git 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? ;) --- 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;