eog/lockup.patch
2008-08-12 05:02:46 +00:00

22 lines
666 B
Diff

diff -up eog-2.23.6/src/main.c.lockup eog-2.23.6/src/main.c
--- eog-2.23.6/src/main.c.lockup 2008-08-12 00:55:08.000000000 -0400
+++ eog-2.23.6/src/main.c 2008-08-12 00:55:24.000000000 -0400
@@ -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 ();