Code

add pdf import filter via poppler-cairo
[inkscape.git] / src / extension / init.cpp
index dc39ea430538286895a6eb80e13c8d1eaa3d1e1b..230d4b50fc3221bcf6c4aede831f6433b4c727f2 100644 (file)
@@ -127,10 +127,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;
     }
@@ -166,7 +166,7 @@ init()
     Internal::PdfInput::init();
 #endif
 #ifdef HAVE_POPPLER_GLIB
-    if (0) {
+    if (1) {
     Internal::PdfInputCairo::init();
     }
 #endif
@@ -192,7 +192,7 @@ init()
 #ifdef WITH_DBUS
     Dbus::init();
 #endif
-       
+
     /* Raster Effects */
 #ifdef WITH_IMAGE_MAGICK
     Internal::Bitmap::AdaptiveThreshold::init();
@@ -231,14 +231,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));
 
     }
 
@@ -358,4 +358,4 @@ check_extensions()
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :