Package: tomboy
Version: 0.3.9+dfsg-1
Severity: normal
Tags: patch

Hi,
version 0.3.9+dfsg-1 of tomboy 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
--- Tomboy/dbus-sharp/Connection.cs.old	2006-08-24 17:14:03.056705000 +0200
+++ Tomboy/dbus-sharp/Connection.cs	2006-08-24 17:14:15.061455250 +0200
@@ -89,7 +89,7 @@
     {
       if (disposing && RawConnection != IntPtr.Zero) 
 	{
-	  dbus_connection_disconnect(rawConnection);
+	  dbus_connection_close(rawConnection);
 
 	  RawConnection = IntPtr.Zero; // free the native object
 	}
@@ -314,7 +314,7 @@
 							   int    slot);
     
     [DllImport ("dbus-1")]
-    private extern static void dbus_connection_disconnect (IntPtr ptr);
+    private extern static void dbus_connection_close (IntPtr ptr);
 
     [DllImport ("dbus-1")]
     private extern static IntPtr dbus_bus_get_unique_name (IntPtr ptr);

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to