[glib] action-group: Check aginst the correct GType macro



commit 504117e284682bff973ad73646fa67103978d016
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Aug 18 16:54:11 2010 +0100

    action-group: Check aginst the correct GType macro
    
    G_TYPE_ACTION_GROUP is not a G_TYPE_ACTION.

 gio/gactiongroup.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gactiongroup.h b/gio/gactiongroup.h
index d411db9..e0f7a2d 100644
--- a/gio/gactiongroup.h
+++ b/gio/gactiongroup.h
@@ -35,8 +35,8 @@ G_BEGIN_DECLS
                                                              G_TYPE_ACTION_GROUP, GActionGroup))
 #define G_ACTION_GROUP_CLASS(class)                         (G_TYPE_CHECK_CLASS_CAST ((class),                       \
                                                              G_TYPE_ACTION_GROUP, GActionGroupClass))
-#define G_IS_ACTION_GROUP(inst)                             (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_ACTION))
-#define G_IS_ACTION_GROUP_CLASS(class)                      (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ACTION))
+#define G_IS_ACTION_GROUP(inst)                             (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_ACTION_GROUP))
+#define G_IS_ACTION_GROUP_CLASS(class)                      (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ACTION_GROUP))
 #define G_ACTION_GROUP_GET_CLASS(inst)                      (G_TYPE_INSTANCE_GET_CLASS ((inst),                      \
                                                              G_TYPE_ACTION_GROUP, GActionGroupClass))
 



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