From a098c771b2caa364ae95b65818c93726751e8f16 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 17 Oct 2014 13:18:12 -0200 Subject: spacefm-0.9.4-3.parabola1: fix freezes with glib 2.41 --- libre/spacefm/spacefm-0.9.4-glib-2.41.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 libre/spacefm/spacefm-0.9.4-glib-2.41.patch (limited to 'libre/spacefm/spacefm-0.9.4-glib-2.41.patch') diff --git a/libre/spacefm/spacefm-0.9.4-glib-2.41.patch b/libre/spacefm/spacefm-0.9.4-glib-2.41.patch new file mode 100644 index 000000000..5795c77a8 --- /dev/null +++ b/libre/spacefm/spacefm-0.9.4-glib-2.41.patch @@ -0,0 +1,25 @@ +diff --git a/src/main.c b/src/main.c +index a7307fb..af5dc5a 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -1349,7 +1349,9 @@ int main ( int argc, char *argv[] ) + vfs_file_monitor_clean(); + return ret == -1 ? 0 : ret; + } ++ GDK_THREADS_ENTER(); + gtk_main(); ++ GDK_THREADS_LEAVE(); + vfs_file_monitor_clean(); + return 0; + } +@@ -1509,8 +1511,10 @@ int main ( int argc, char *argv[] ) + run = handle_parsed_commandline_args(); + app_settings.load_saved_tabs = TRUE; + ++ GDK_THREADS_ENTER(); + if( run ) /* run the main loop */ + gtk_main(); ++ GDK_THREADS_LEAVE(); + + main_window_event( NULL, NULL, "evt_exit", 0, 0, NULL, 0, 0, 0, FALSE ); + -- cgit v1.2.3