summaryrefslogtreecommitdiffstats
path: root/mono/Connection.cs
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2005-03-11 18:15:25 +0000
committerRyan Lortie <desrt@desrt.ca>2005-03-11 18:15:25 +0000
commit28a418ad5de4f76a0b9202588152cac4a73edd61 (patch)
tree146ff8ece8557dfa76e5b5f5aa0a6893fa417554 /mono/Connection.cs
parent3c1d2d65654f92f24d3e5c9c5b88d76a10f72822 (diff)
This commit was manufactured by cvs2svn to create tag 'dbus-0.23.4'.dbus-0.23.4
Diffstat (limited to 'mono/Connection.cs')
-rw-r--r--mono/Connection.cs13
1 files changed, 6 insertions, 7 deletions
diff --git a/mono/Connection.cs b/mono/Connection.cs
index af0764db..50b2dd99 100644
--- a/mono/Connection.cs
+++ b/mono/Connection.cs
@@ -161,23 +161,22 @@ namespace DBus
{
if (!dbus_connection_register_object_path (RawConnection, path, ref vtable, IntPtr.Zero))
throw new OutOfMemoryException ();
-
+
this.object_paths[path] = vtable;
}
-
+
internal void UnregisterObjectPath (string path)
{
dbus_connection_unregister_object_path (RawConnection, path);
-
+
this.object_paths.Remove (path);
}
-
- public string UniqueName
+ public string BaseService
{
get
{
- return Marshal.PtrToStringAnsi (dbus_bus_get_unique_name (RawConnection));
+ return Marshal.PtrToStringAnsi (dbus_bus_get_base_service (RawConnection));
}
}
@@ -317,7 +316,7 @@ namespace DBus
private extern static void dbus_connection_disconnect (IntPtr ptr);
[DllImport ("dbus-1")]
- private extern static IntPtr dbus_bus_get_unique_name (IntPtr ptr);
+ private extern static IntPtr dbus_bus_get_base_service (IntPtr ptr);
[DllImport("dbus-1")]
private extern static bool dbus_connection_add_filter(IntPtr rawConnection,