x11: Remove unneeded and wrong return_if_fail()

It triggers coverity warnings.
This commit is contained in:
Benjamin Otte 2014-10-05 11:15:02 +02:00
parent dd8db0f5cb
commit 3526f2081b

View File

@ -3278,8 +3278,6 @@ gdk_window_x11_get_device_state (GdkWindow *window,
{ {
GdkWindow *child; GdkWindow *child;
g_return_val_if_fail (window == NULL || GDK_IS_WINDOW (window), FALSE);
if (GDK_WINDOW_DESTROYED (window)) if (GDK_WINDOW_DESTROYED (window))
return FALSE; return FALSE;