From 3abacc56a45005317f51918f7c96c898065cb738 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Thu, 1 Mar 2007 07:14:09 +0000 Subject: [PATCH] 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? ;) --- 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; -- 2.30.2