From bd2e221da34f72dbcc6a1c0dc8fdae058ec93014 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Tue, 1 Sep 2009 09:38:40 -0400 Subject: [PATCH] Fix broken META_IS_SCREEN macro Should use META_TYPE_SCREEN not META_SCREEN_TYPE. --- src/include/screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/screen.h b/src/include/screen.h index e16fe4da2..d3f816e81 100644 --- a/src/include/screen.h +++ b/src/include/screen.h @@ -30,7 +30,7 @@ #define META_TYPE_SCREEN (meta_screen_get_type ()) #define META_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), META_TYPE_SCREEN, MetaScreen)) #define META_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), META_TYPE_SCREEN, MetaScreenClass)) -#define META_IS_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_SCREEN_TYPE)) +#define META_IS_SCREEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), META_TYPE_SCREEN)) #define META_IS_SCREEN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), META_TYPE_SCREEN)) #define META_SCREEN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), META_TYPE_SCREEN, MetaScreenClass))