summaryrefslogtreecommitdiff
path: root/libre/spacefm/spacefm-0.9.4-glib-2.41.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-17 13:18:12 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-10-17 13:18:12 -0200
commita098c771b2caa364ae95b65818c93726751e8f16 (patch)
tree96f72edbb1712e34fb0f8f6485d73773c543e83b /libre/spacefm/spacefm-0.9.4-glib-2.41.patch
parentfd71cf956b60f6088161fe3e230e53eb2dd1b9a1 (diff)
downloadabslibre-a098c771b2caa364ae95b65818c93726751e8f16.tar.gz
abslibre-a098c771b2caa364ae95b65818c93726751e8f16.tar.bz2
abslibre-a098c771b2caa364ae95b65818c93726751e8f16.zip
spacefm-0.9.4-3.parabola1: fix freezes with glib 2.41
Diffstat (limited to 'libre/spacefm/spacefm-0.9.4-glib-2.41.patch')
-rw-r--r--libre/spacefm/spacefm-0.9.4-glib-2.41.patch25
1 files changed, 25 insertions, 0 deletions
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 );
+