[gthumb] emit the signal in an idle callback



commit 09cb4ca709762689d5026c67156c3e8e7e8953ec
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Apr 29 21:14:20 2010 +0200

    emit the signal in an idle callback

 gthumb/gth-file-source-vfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-file-source-vfs.c b/gthumb/gth-file-source-vfs.c
index 1cdf7f7..7a919da 100644
--- a/gthumb/gth-file-source-vfs.c
+++ b/gthumb/gth-file-source-vfs.c
@@ -306,7 +306,7 @@ mount_monitor_mountpoints_changed_cb (GVolumeMonitor *volume_monitor,
 				      GMount         *mount,
 				      gpointer        user_data)
 {
-	gth_monitor_file_entry_points_changed (gth_main_get_default_monitor ());
+	call_when_idle ((DataFunc) gth_monitor_file_entry_points_changed, gth_main_get_default_monitor ());
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]