[vala] glib-2.0: Set type_id for Pid



commit b33eaf6cf1d1c310f8ae79505ddedf096ff7d248
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Apr 26 11:13:36 2011 +0200

    glib-2.0: Set type_id for Pid

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 628c6ed..7666f89 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1710,7 +1710,7 @@ namespace GLib {
 		public static bool remove_by_data (void* data);
 	}
 
-	[CCode (default_value = "0")]
+	[CCode (type_id = "G_TYPE_INT", marshaller_type_name = "INT", get_value_function = "g_value_get_int", set_value_function = "g_value_set_int", default_value = "0")]
 	[IntegerType (rank = 6)]
 	public struct Pid {
 	}



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