gnome-user-share r237 - in trunk: . src



Author: matthiasc
Date: Fri Apr  4 14:26:16 2008
New Revision: 237
URL: http://svn.gnome.org/viewvc/gnome-user-share?rev=237&view=rev

Log:
Don't exit when we loose the dbus connection


Modified:
   trunk/ChangeLog
   trunk/src/obexftp.c

Modified: trunk/src/obexftp.c
==============================================================================
--- trunk/src/obexftp.c	(original)
+++ trunk/src/obexftp.c	Fri Apr  4 14:26:16 2008
@@ -24,6 +24,7 @@
 #include "config.h"
 
 #include <dbus/dbus-glib.h>
+#include <dbus/dbus-glib-lowlevel.h>
 #include <gconf/gconf-client.h>
 
 #include <string.h>
@@ -150,6 +151,7 @@
 		return FALSE;
 	}
 
+	dbus_connection_set_exit_on_disconnect (dbus_g_connection_get_connection (connection), FALSE);
 	return TRUE;
 }
 



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