[vala] dbus-glib-1: Readd ObjectPath class to restore backward compatibility



commit 9a650b7f3bb796c36e31a7c649c7f59e8292631e
Author: Jürg Billeter <j bitron ch>
Date:   Mon Jun 21 20:58:34 2010 +0200

    dbus-glib-1: Readd ObjectPath class to restore backward compatibility

 vapi/dbus-glib-1.vapi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi
index 6252921..62817ee 100644
--- a/vapi/dbus-glib-1.vapi
+++ b/vapi/dbus-glib-1.vapi
@@ -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")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]