[vala/0.12] glib-2.0: Set type_id for Pid



commit 03b859e22ed62ef2c3e6144d1eb2ced6e00f1f6b
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 00626f1..dd0b6a5 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]