SOURCES: NetworkManager-dbus.patch (NEW) - fix DBUS calls to use d...
patrys
patrys at pld-linux.org
Wed Aug 23 21:16:49 CEST 2006
Author: patrys Date: Wed Aug 23 19:16:49 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix DBUS calls to use dbus_connection_close
---- Files affected:
SOURCES:
NetworkManager-dbus.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/NetworkManager-dbus.patch
diff -u /dev/null SOURCES/NetworkManager-dbus.patch:1.1
--- /dev/null Wed Aug 23 21:16:49 2006
+++ SOURCES/NetworkManager-dbus.patch Wed Aug 23 21:16:44 2006
@@ -0,0 +1,20 @@
+--- NetworkManager-0.6.4/gnome/libnm_glib/libnm_glib.c~ 2006-05-05 17:36:46.000000000 +0200
++++ NetworkManager-0.6.4/gnome/libnm_glib/libnm_glib.c 2006-08-23 21:12:31.491904000 +0200
+@@ -230,7 +230,7 @@
+ {
+ /* Try to reactivate our connection to dbus on the next pass through the event loop */
+ ctx->nm_state = LIBNM_NO_DBUS;
+- dbus_connection_disconnect (ctx->dbus_con);
++ dbus_connection_close (ctx->dbus_con);
+ libnm_glib_schedule_dbus_watcher (ctx);
+ }
+ else if (dbus_message_is_signal (message, DBUS_INTERFACE_DBUS, "NameOwnerChanged"))
+@@ -444,7 +444,7 @@
+ g_main_loop_unref (ctx->g_main_loop);
+
+ if (ctx->dbus_con)
+- dbus_connection_disconnect (ctx->dbus_con);
++ dbus_connection_close (ctx->dbus_con);
+
+ if (ctx->callbacks_lock)
+ g_mutex_free (ctx->callbacks_lock);
================================================================
More information about the pld-cvs-commit
mailing list