[patch] dbus_connection_disconnect and bindings

Olivier Galibert galibert at pobox.com
Sun Jun 5 16:34:36 PDT 2005


Some bindings were missed in the dbus_connection_disconnect renaming.

  OG.

-------------- next part --------------
Index: mono/Connection.cs
===================================================================
RCS file: /cvs/dbus/dbus/mono/Connection.cs,v
retrieving revision 1.13
diff -u -r1.13 Connection.cs
--- mono/Connection.cs	9 Mar 2005 04:36:15 -0000	1.13
+++ mono/Connection.cs	5 Jun 2005 23:17:33 -0000
@@ -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);
Index: qt/connection.cpp
===================================================================
RCS file: /cvs/dbus/dbus/qt/connection.cpp,v
retrieving revision 1.10
diff -u -r1.10 connection.cpp
--- qt/connection.cpp	4 Sep 2004 15:09:48 -0000	1.10
+++ qt/connection.cpp	5 Jun 2005 23:17:33 -0000
@@ -106,7 +106,7 @@
 
 void Connection::close()
 {
-  dbus_connection_disconnect( d->connection );
+  dbus_connection_close( d->connection );
 }
 
 void Connection::flush()


More information about the dbus mailing list