diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/inkview.cpp | 3 | ||||
| -rw-r--r-- | src/main.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
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<char ***>(&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(); |
