diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-03-02 06:10:16 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-03-02 06:10:16 +0000 |
| commit | fd703018ee505f643f866aa4e0cc3f1bebf7aa7d (patch) | |
| tree | 6719a17bafdb9a4f36419999859b934e39d805d6 /src/extension/init.cpp | |
| parent | Starting a (useful) derivation of http://colivre.coop.br/Aurium/InkscapeAreaC... (diff) | |
| download | inkscape-fd703018ee505f643f866aa4e0cc3f1bebf7aa7d.tar.gz inkscape-fd703018ee505f643f866aa4e0cc3f1bebf7aa7d.zip | |
Cleanup on id access.
(bzr r9127)
Diffstat (limited to 'src/extension/init.cpp')
| -rw-r--r-- | src/extension/init.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/extension/init.cpp b/src/extension/init.cpp index 84cc45de9..777e3d718 100644 --- a/src/extension/init.cpp +++ b/src/extension/init.cpp @@ -124,10 +124,10 @@ update_pref(Glib::ustring const &pref_path, /* gboolean missing=TRUE; for (GSList *list = extension_family; list; list = g_slist_next(list)) { - g_assert( list->data ); + g_assert( list->data ); - Inkscape::Extension *extension; - extension = reinterpret_cast<Inkscape::Extension *>(list->data); + Inkscape::Extension *extension; + extension = reinterpret_cast<Inkscape::Extension *>(list->data); if (!strcmp(extension->get_id(),pref)) missing=FALSE; } @@ -185,7 +185,7 @@ init() Internal::BlurEdge::init(); Internal::GimpGrad::init(); Internal::Grid::init(); - + /* Raster Effects */ #ifdef WITH_IMAGE_MAGICK Internal::Bitmap::AdaptiveThreshold::init(); @@ -224,14 +224,14 @@ init() Internal::Bitmap::Wave::init(); #endif /* WITH_IMAGE_MAGICK */ - Internal::Filter::Filter::filters_all(); + Internal::Filter::Filter::filters_all(); /* Load search path for extensions */ if (Inkscape::Extension::Extension::search_path.size() == 0) { - Inkscape::Extension::Extension::search_path.push_back(profile_path("extensions")); - - Inkscape::Extension::Extension::search_path.push_back(g_strdup(INKSCAPE_EXTENSIONDIR)); + Inkscape::Extension::Extension::search_path.push_back(profile_path("extensions")); + + Inkscape::Extension::Extension::search_path.push_back(g_strdup(INKSCAPE_EXTENSIONDIR)); } |
