[gtk+/client-side-windows: 136/284] Change window check to quartz window check in gdkinput



commit 546a1e4cd69ebf6ccbc86aa6e1abd1d4f227e87b
Author: Richard Hult <richard imendio com>
Date:   Wed Jan 7 14:11:13 2009 +0100

    Change window check to quartz window check in gdkinput
---
 gdk/quartz/gdkinput.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdk/quartz/gdkinput.c b/gdk/quartz/gdkinput.c
index 280af5e..3e04128 100644
--- a/gdk/quartz/gdkinput.c
+++ b/gdk/quartz/gdkinput.c
@@ -206,7 +206,7 @@ gdk_device_get_history  (GdkDevice         *device,
 			 gint              *n_events)
 {
   g_return_val_if_fail (window != NULL, FALSE);
-  g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
+  g_return_val_if_fail (GDK_IS_WINDOW_QUARTZ (window), FALSE);
   g_return_val_if_fail (events != NULL, FALSE);
   g_return_val_if_fail (n_events != NULL, FALSE);
 
@@ -262,7 +262,7 @@ gdk_input_set_extension_events (GdkWindow *window, gint mask,
   GdkInputWindow *iw;
 
   g_return_if_fail (window != NULL);
-  g_return_if_fail (GDK_IS_WINDOW (window));
+  g_return_if_fail (GDK_IS_WINDOW_QUARTZ (window));
 
   window_private = (GdkWindowObject*) window;
 



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