eog/lockup.patch

22 lines
666 B
Diff
Raw Normal View History

2008-08-12 05:02:46 +00:00
diff -up eog-2.23.6/src/main.c.lockup eog-2.23.6/src/main.c
2008-08-23 01:32:19 +00:00
--- eog-2.23.6/src/main.c.lockup 2008-08-04 19:07:05.000000000 -0400
+++ eog-2.23.6/src/main.c 2008-08-12 01:30:44.000000000 -0400
2008-08-12 05:02:46 +00:00
@@ -215,6 +215,8 @@ main (int argc, char **argv)
eog_thumbnail_init ();
eog_plugin_engine_init ();
+ gdk_threads_enter ();
+
/* Add application specific icons to search path */
gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
EOG_DATA_DIR G_DIR_SEPARATOR_S "icons");
@@ -224,8 +226,6 @@ main (int argc, char **argv)
load_files ();
- gdk_threads_enter ();
-
gtk_main ();
gdk_threads_leave ();