From 051263fbb548b952be3809a00a18a3ea63efbfdb Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 1 Mar 2007 07:14:09 +0000 Subject: 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) --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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; -- cgit v1.2.3