From f5d96f711058551f500f33b911ce814b74430ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Thu, 20 Nov 2014 05:51:12 +0100 Subject: [PATCH] mir: use proper naming for mir window type checking macro --- gdk/mir/gdkmir.h | 2 +- gdk/mir/gdkmirwindowimpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/mir/gdkmir.h b/gdk/mir/gdkmir.h index 4339cccb3e..e8946e654e 100644 --- a/gdk/mir/gdkmir.h +++ b/gdk/mir/gdkmir.h @@ -28,7 +28,7 @@ #define GDK_MIR_IS_GL_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GDK_TYPE_MIR_GL_CONTEXT)) #define GDK_TYPE_MIR_WINDOW (gdk_mir_window_get_type ()) -#define GDK_IS_WINDOW_MIR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_MIR_WINDOW)) +#define GDK_IS_MIR_WINDOW(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_MIR_WINDOW)) GDK_AVAILABLE_IN_3_10 GType gdk_mir_display_get_type (void); diff --git a/gdk/mir/gdkmirwindowimpl.c b/gdk/mir/gdkmirwindowimpl.c index 57cd70d0f9..d5d1c01404 100644 --- a/gdk/mir/gdkmirwindowimpl.c +++ b/gdk/mir/gdkmirwindowimpl.c @@ -1524,7 +1524,7 @@ gdk_mir_window_get_mir_surface (GdkWindow *window) { GdkMirWindowImpl *impl; - g_return_val_if_fail (GDK_IS_WINDOW_MIR (window), NULL); + g_return_val_if_fail (GDK_IS_MIR_WINDOW (window), NULL); impl = GDK_MIR_WINDOW_IMPL (window->impl);