Add g_warning to not yet supported code
This commit is contained in:
parent
aee3c571b0
commit
3a6d68e836
@ -1080,7 +1080,9 @@ gdk_window_set_has_native (GdkWindow *window, gboolean has_native)
|
|||||||
if (private->parent == NULL ||
|
if (private->parent == NULL ||
|
||||||
GDK_WINDOW_TYPE (private->parent) == GDK_WINDOW_ROOT)
|
GDK_WINDOW_TYPE (private->parent) == GDK_WINDOW_ROOT)
|
||||||
return; /* toplevel, must be native */
|
return; /* toplevel, must be native */
|
||||||
|
|
||||||
|
g_warning ("Tried to turn native window to client side window, this is not supported yet.");
|
||||||
|
|
||||||
/* TODO: remove native */
|
/* TODO: remove native */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user