From 504117e284682bff973ad73646fa67103978d016 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 18 Aug 2010 16:54:11 +0100 Subject: [PATCH] action-group: Check aginst the correct GType macro G_TYPE_ACTION_GROUP is not a G_TYPE_ACTION. --- gio/gactiongroup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gactiongroup.h b/gio/gactiongroup.h index d411db9d1..e0f7a2da0 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))