diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2006-09-21 15:50:50 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2006-09-21 15:50:50 +0000 |
commit | 7e2bcea4a90eb93e872cdaf63b61ca25cdea8776 (patch) | |
tree | efb90451a4fae7cd73990f91244c27d6bc8ece61 /gnome-base/gnome-vfs/files/gnome-vfs-2.16.0-no-dbus-crash.patch | |
parent | Stable on x86, bug #146562. (diff) | |
download | gentoo-2-7e2bcea4a90eb93e872cdaf63b61ca25cdea8776.tar.gz gentoo-2-7e2bcea4a90eb93e872cdaf63b61ca25cdea8776.tar.bz2 gentoo-2-7e2bcea4a90eb93e872cdaf63b61ca25cdea8776.zip |
"Fix" crash when running gnome-vfs-based programs via sudo/gksudo
(Portage version: 2.1.2_pre1)
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.patch | 12 |
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); + } |