]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 26 Apr 2011 09:13:36 +0000 (11:13 +0200)
vapi/glib-2.0.vapi

index 628c6ed0620b680a18f158bb3b6245f6a0678fa7..7666f89b0550091baf2d67b2dd59d705fe134063 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 {
        }