summaryrefslogtreecommitdiff
path: root/gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch')
-rw-r--r--gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch b/gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch
new file mode 100644
index 000000000000..6905060a4f71
--- /dev/null
+++ b/gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch
@@ -0,0 +1,12 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN gnome-vfs-2.16.0.orig/libgnomevfs/gnome-vfs-volume-monitor-client.c gnome-vfs-2.16.0/libgnomevfs/gnome-vfs-volume-monitor-client.c
+--- gnome-vfs-2.16.0.orig/libgnomevfs/gnome-vfs-volume-monitor-client.c 2006-07-07 04:46:39.000000000 -0400
++++ gnome-vfs-2.16.0/libgnomevfs/gnome-vfs-volume-monitor-client.c 2006-09-21 11:22:49.000000000 -0400
+@@ -236,6 +236,8 @@
+ gnome_vfs_volume_monitor_client_init (GnomeVFSVolumeMonitorClient *volume_monitor_client)
+ {
+ setup_dbus_connection (volume_monitor_client);
++ if (!volume_monitor_client->dbus_conn)
++ return;
+ read_drives_from_daemon (volume_monitor_client);
+ read_volumes_from_daemon (volume_monitor_client);
+ }