]> git.pld-linux.org Git - packages/NetworkManager.git/blob - NetworkManager-dbus.patch
- fix DBUS calls to use dbus_connection_close
[packages/NetworkManager.git] / NetworkManager-dbus.patch
1 --- NetworkManager-0.6.4/gnome/libnm_glib/libnm_glib.c~ 2006-05-05 17:36:46.000000000 +0200
2 +++ NetworkManager-0.6.4/gnome/libnm_glib/libnm_glib.c  2006-08-23 21:12:31.491904000 +0200
3 @@ -230,7 +230,7 @@
4         {
5                 /* Try to reactivate our connection to dbus on the next pass through the event loop */
6                 ctx->nm_state = LIBNM_NO_DBUS;
7 -               dbus_connection_disconnect (ctx->dbus_con);
8 +               dbus_connection_close (ctx->dbus_con);
9                 libnm_glib_schedule_dbus_watcher (ctx);
10         }
11         else if (dbus_message_is_signal (message, DBUS_INTERFACE_DBUS, "NameOwnerChanged"))
12 @@ -444,7 +444,7 @@
13                 g_main_loop_unref (ctx->g_main_loop);
14  
15         if (ctx->dbus_con)
16 -               dbus_connection_disconnect (ctx->dbus_con);
17 +               dbus_connection_close (ctx->dbus_con);
18  
19         if (ctx->callbacks_lock)
20                 g_mutex_free (ctx->callbacks_lock);
This page took 0.061362 seconds and 3 git commands to generate.