summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6299984)
raw | patch | inline | side by side (parent: 6299984)
author | jaspervdg <jaspervdg@users.sourceforge.net> | |
Sat, 10 Jan 2009 16:25:06 +0000 (16:25 +0000) | ||
committer | jaspervdg <jaspervdg@users.sourceforge.net> | |
Sat, 10 Jan 2009 16:25:06 +0000 (16:25 +0000) |
src/inkview.cpp | patch | blob | history | |
src/main.cpp | patch | blob | history |
diff --git a/src/inkview.cpp b/src/inkview.cpp
index d192449115ae2bbff40e5ec4a31752bfe92f80c7..740a7b77f90c21239b60d50fb6c78936ac492224 100644 (file)
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
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 eb1a0b103fefbe3d3a8d6de512b848e0df8082c9..89590a5f4a2abfbb9f36318b419d78760e378c78 100644 (file)
--- a/src/main.cpp
+++ b/src/main.cpp
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();