forked from AuroraMiddleware/gtk
x11: Remove unneeded and wrong return_if_fail()
It triggers coverity warnings.
This commit is contained in:
parent
dd8db0f5cb
commit
3526f2081b
@ -3278,8 +3278,6 @@ gdk_window_x11_get_device_state (GdkWindow *window,
|
||||
{
|
||||
GdkWindow *child;
|
||||
|
||||
g_return_val_if_fail (window == NULL || GDK_IS_WINDOW (window), FALSE);
|
||||
|
||||
if (GDK_WINDOW_DESTROYED (window))
|
||||
return FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user