totem-pl-parser r134 - in trunk: . plparse



Author: hadess
Date: Sun May 25 16:15:57 2008
New Revision: 134
URL: http://svn.gnome.org/viewvc/totem-pl-parser?rev=134&view=rev

Log:
2008-05-25  Bastien Nocera  <hadess hadess net>

	* plparse/totem-disc.c (cd_cache_new_hal_ctx): Call
	dbus_connection_set_exit_on_disconnect() with FALSE, so we don't
	exit if the session message bus is going away under us, spotted
	by Matthias Clasen <mclasen redhat com> (Closes: #528780)



Modified:
   trunk/ChangeLog
   trunk/plparse/totem-disc.c

Modified: trunk/plparse/totem-disc.c
==============================================================================
--- trunk/plparse/totem-disc.c	(original)
+++ trunk/plparse/totem-disc.c	Sun May 25 16:15:57 2008
@@ -196,6 +196,7 @@
   conn = dbus_bus_get_private (DBUS_BUS_SYSTEM, &error);
 
   if (conn != NULL && !dbus_error_is_set (&error)) {
+    dbus_connection_set_exit_on_disconnect (conn, FALSE);
     if (!libhal_ctx_set_dbus_connection (ctx, conn)) {
       libhal_ctx_free (ctx);
       return NULL;



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