]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
dbus-glib-1: Readd ObjectPath class to restore backward compatibility
authorJürg Billeter <j@bitron.ch>
Mon, 21 Jun 2010 18:58:34 +0000 (20:58 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 21 Jun 2010 18:58:34 +0000 (20:58 +0200)
vapi/dbus-glib-1.vapi

index 6252921b106b2f0a809508cfeced72b5a13b43e1..62817ee16bdb7fa93063044d4702cb8e88adcb62 100644 (file)
@@ -269,6 +269,12 @@ namespace DBus {
                public signal void destroy ();
        }
 
+       [CCode (cname = "char", const_cname = "const char", copy_function = "g_strdup", free_function = "g_free", cheader_filename = "stdlib.h,string.h,glib.h", type_id = "DBUS_TYPE_G_OBJECT_PATH", marshaller_type_name = "BOXED", get_value_function = "g_value_get_boxed", set_value_function = "g_value_set_boxed", type_signature = "o")]
+       public class ObjectPath : string {
+               [CCode (cname = "g_strdup")]
+               public ObjectPath (string path);
+       }
+
        [CCode (cname = "char", const_cname = "const char", copy_function = "g_strdup", free_function = "g_free", cheader_filename = "stdlib.h,string.h,glib.h", type_id = "G_TYPE_STRING", marshaller_type_name = "STRING", get_value_function = "g_value_get_string", set_value_function = "g_value_set_string")]
        public class BusName : string {
                [CCode (cname = "g_strdup")]