]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Set type_id for Pid
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 26 Apr 2011 09:13:36 +0000 (11:13 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 09:10:40 +0000 (11:10 +0200)
vapi/glib-2.0.vapi

index 00626f1d7817b756ceaa8787a3e331041a30829d..dd0b6a5a28a3274ccdcf33ba2cd876e78ebb4eb9 100644 (file)
@@ -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 {
        }