[gobject-introspection] tests: drop an assumption that time_t is same as glong



commit 45757373ced1b50b183fb6cff44f1e6859d8cfb9
Author: Adam Borowski <kilobyte angband pl>
Date:   Sun Feb 14 16:37:45 2016 +0100

    tests: drop an assumption that time_t is same as glong
    
    This is false on x32, arm32 on Linux and on 32-bit archs of FreeBSD,
    OpenBSD.
    
    In general we've been moving g-i away from supporting time_t due to
    various problems - GLib-using apps should use GTimeVal or GDateTime
    etc.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736109

 tests/offsets/offsets.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/offsets/offsets.h b/tests/offsets/offsets.h
index b57b1bf..1048532 100644
--- a/tests/offsets/offsets.h
+++ b/tests/offsets/offsets.h
@@ -30,8 +30,6 @@ struct _OffsetsBasic {
   gdouble field_double;
   char dummy8;
   gsize field_size;
-  char dummy9;
-  time_t field_time;
 };
 
 typedef enum {


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