[gnome-builder] util-glib: ensure we have full word size for type



commit d805f1e046705b221a313fd5ecf5f9ea70b44ff7
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 28 11:54:34 2017 -0800

    util-glib: ensure we have full word size for type
    
    These store GType's so use an actual GType (even if we wouldn't need it
    as we can't be guaranteed of type values other than fundamentals).

 libide/util/ide-glib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/util/ide-glib.c b/libide/util/ide-glib.c
index 9e3b32f..60e207f 100644
--- a/libide/util/ide-glib.c
+++ b/libide/util/ide-glib.c
@@ -24,7 +24,7 @@
 
 typedef struct
 {
-  int type;
+  GType type;
   GTask *task;
   union {
     gboolean v_bool;


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