summaryrefslogtreecommitdiff
path: root/libre/spacefm/spacefm-0.9.4-glib-2.41.patch
diff options
context:
space:
mode:
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 );
+