Change window check to quartz window check in gdkinput

This commit is contained in:
Richard Hult 2009-01-07 14:11:13 +01:00 committed by Alexander Larsson
parent 5eacab593b
commit 546a1e4cd6

View File

@ -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;