[gobject-introspection] [giregisteredtype] Flags have a GType



commit 9f4c31e3cbb666f729c74c2a55c1f1ec9e4875a5
Author: Johan Dahlin <johan gnome org>
Date:   Sun Jun 6 22:47:02 2010 -0300

    [giregisteredtype] Flags have a GType

 girepository/giregisteredtypeinfo.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/girepository/giregisteredtypeinfo.h b/girepository/giregisteredtypeinfo.h
index 8a63321..a7d19f5 100644
--- a/girepository/giregisteredtypeinfo.h
+++ b/girepository/giregisteredtypeinfo.h
@@ -31,10 +31,9 @@
 
 G_BEGIN_DECLS
 
-/* GIRegisteredTypeInfo */
-
 #define GI_IS_REGISTERED_TYPE_INFO(info) \
     ((g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_ENUM) || \
+     (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_FLAGS) ||	\
      (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_INTERFACE) || \
      (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_OBJECT) || \
      (g_base_info_get_type((GIBaseInfo*)info) == GI_INFO_TYPE_STRUCT) || \



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