[gtk+] mir: use proper naming for mir window type checking macro



commit f5d96f711058551f500f33b911ce814b74430ab6
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Nov 20 05:51:12 2014 +0100

    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 4339ccc..e8946e6 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 57cd70d..d5d1c01 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);
 


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