Package: network-manager Version: 0.6.4-1 Severity: normal Tags: patch Hi, version 0.6.4-1 of network-manager uses a deprecated dbus function that is removed in dbus >= 0.90. dbus 0.92 will most probably go into unstable in the next days. The function dbus_connection_disconnect() was removed and can be replaced by dbus_connection_close(). Attached is a patch that fixes this.
Bye
--- ./gnome/libnm_glib/libnm_glib.c.old 2006-08-24 18:08:22.200388750 +0200
+++ ./gnome/libnm_glib/libnm_glib.c 2006-08-24 18:08:33.353085750 +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);
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

