--- gnome-vfs-2.16.0/libgnomevfs/gnome-vfs-dbus-utils.c.orig	2006-08-10 11:34:46.000000000 +0200
+++ gnome-vfs-2.16.0/libgnomevfs/gnome-vfs-dbus-utils.c	2006-09-07 15:45:05.000000000 +0200
@@ -150,8 +150,8 @@
 	dbus_error_init (&error);
 	main_dbus = dbus_bus_get (DBUS_BUS_SESSION, &error);
 	if (dbus_error_is_set (&error)) {
-		g_warning ("Failed to open session DBUS connection: %s\n"
-			   "Volume monitoring will not work.", error.message);
+		/*g_warning ("Failed to open session DBUS connection: %s\n"
+			   "Volume monitoring will not work.", error.message);*/
 		dbus_error_free (&error);
 		main_dbus = NULL;
 		return NULL;
--- gnome-vfs-2.16.0/libgnomevfs/gnome-vfs-volume-monitor-client.c.orig	2006-07-07 10:46:39.000000000 +0200
+++ gnome-vfs-2.16.0/libgnomevfs/gnome-vfs-volume-monitor-client.c	2006-09-07 15:45:51.000000000 +0200
@@ -95,6 +95,10 @@
 	DBusMessageIter  iter, array_iter;
 	GnomeVFSDrive   *drive;
 
+	if (dbus_conn == NULL) {
+		return NULL;
+	}
+
 	message = dbus_message_new_method_call (DVD_DAEMON_SERVICE,
  						DVD_DAEMON_OBJECT,
 						DVD_DAEMON_INTERFACE,
@@ -148,6 +152,10 @@
 	DBusMessageIter  iter, array_iter;
 	GnomeVFSVolume  *volume;
 
+	if (dbus_conn == NULL) {
+		return NULL;
+	}
+
 	message = dbus_message_new_method_call (DVD_DAEMON_SERVICE,
  						DVD_DAEMON_OBJECT,
 						DVD_DAEMON_INTERFACE,
