[vala] glib-2.0: Set default_value of time_t to 0



commit 65966a1616a134e3367150f8d9fc4d2f43ff4442
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Dec 27 12:27:24 2010 +0100

    glib-2.0: Set default_value of time_t to 0
    
    Fixes bug 615108.

 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 a19c3b7..56b83dd 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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")]



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