]> git.pld-linux.org Git - packages/NetworkManager.git/commitdiff
- fix DBUS calls to use dbus_connection_close
authorPatryk Zawadzki <patrys@room-303.com>
Wed, 23 Aug 2006 19:16:44 +0000 (19:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    NetworkManager-dbus.patch -> 1.1

NetworkManager-dbus.patch [new file with mode: 0644]

diff --git a/NetworkManager-dbus.patch b/NetworkManager-dbus.patch
new file mode 100644 (file)
index 0000000..215afeb
--- /dev/null
@@ -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);
This page took 0.119196 seconds and 4 git commands to generate.