From: jaspervdg Date: Sat, 10 Jan 2009 16:25:06 +0000 (+0000) Subject: Fixes rendering of feImage (using bitmaps) by preventing the error "Unable to wrap... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7cff29615374c1b9d7e7e88cf9cbe787b5c732e1;p=inkscape.git Fixes rendering of feImage (using bitmaps) by preventing the error "Unable to wrap GdkPixbuf". --- diff --git a/src/inkview.cpp b/src/inkview.cpp index d19244911..740a7b77f 100644 --- a/src/inkview.cpp +++ b/src/inkview.cpp @@ -178,6 +178,9 @@ main (int argc, const char **argv) usage(); } + // Prevents errors like "Unable to wrap GdkPixbuf..." (in nr-filter-image.cpp for example) + Gtk::Main::init_gtkmm_internals(); + Gtk::Main main_instance (&argc, const_cast(&argv)); struct SPSlideShow ss; diff --git a/src/main.cpp b/src/main.cpp index eb1a0b103..89590a5f4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -562,6 +562,9 @@ main(int argc, char **argv) rt.setPathInfo(); #endif + // Prevents errors like "Unable to wrap GdkPixbuf..." (in nr-filter-image.cpp for example) + Gtk::Main::init_gtkmm_internals(); + // Bug #197475 set_extensions_env();