]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_* bindings,
authorJuerg Billeter <j@bitron.ch>
Thu, 8 May 2008 20:23:32 +0000 (20:23 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Thu, 8 May 2008 20:23:32 +0000 (20:23 +0000)
2008-05-08  Juerg Billeter  <j@bitron.ch>

* vapi/dbus-glib-1.vapi:

Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_*
bindings, patch by Yu Feng, fixes bug 531131

svn path=/trunk/; revision=1345

ChangeLog
vapi/dbus-glib-1.vapi

index f9c9ddf88ae2190380828769ba16ea586be5165f..2f30fbe1cd20a769bf0acf8c3fdbcd170fec762c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-05-08  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/dbus-glib-1.vapi:
+
+       Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_*
+       bindings, patch by Yu Feng, fixes bug 531131
+
 2008-05-08  Jürg Billeter  <j@bitron.ch>
 
        * vala/valastruct.vala:
index eb277e6111bad92e8dca38320cd212e41995fb44..bd82465c0e324c617663c01a45816f84e9be11de 100644 (file)
@@ -99,6 +99,8 @@ namespace DBus {
                public Object get_object (string name, string path, string interface_);
                [CCode (cname = "dbus_g_connection_register_g_object")]
                public void register_object (string at_path, GLib.Object object);
+               [CCode (cname = "dbus_g_connection_lookup_g_object")]
+               public weak GLib.Object lookup_object (string at_path);
        }
 
        [CCode (cname = "DBusGProxy", lower_case_csuffix = "g_proxy")]
@@ -107,6 +109,9 @@ namespace DBus {
                public weak ProxyCall begin_call (string method, ProxyCallNotify notify, GLib.DestroyNotify destroy, GLib.Type first_arg_type, ...);
                public bool end_call (ProxyCall call, out GLib.Error error, GLib.Type first_arg_type, ...);
                public void cancel_call (ProxyCall call);
+               public weak string get_path ();
+               public weak string get_bus_name ();
+               public weak string get_interface ();
        }
 
        [CCode (cname = "DBusGProxyCallNotify")]