]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Set default_value of time_t to 0
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 27 Dec 2010 11:27:24 +0000 (12:27 +0100)
committerJürg Billeter <j@bitron.ch>
Sat, 22 Jan 2011 10:05:49 +0000 (11:05 +0100)
Fixes bug 615108.

vapi/glib-2.0.vapi

index 34ba03ad6c52f2e3bae0c048d92f41d92dec4fb5..122520c84a044aef32719ce1701d1c5b6cc3f14f 100644 (file)
@@ -711,7 +711,7 @@ public struct double {
 }
 
 [GIR (name = "glong")]
-[CCode (cheader_filename = "time.h", has_type_id = false)]
+[CCode (cheader_filename = "time.h", has_type_id = false, default_value = "0")]
 [IntegerType (rank = 8)]
 public struct time_t {
        [CCode (cname = "time")]