forked from AuroraMiddleware/gtk
Remove unnecessary warning
Unexporting the window handle on X11 is a no-op, so there's no need to emit a warning.
This commit is contained in:
parent
572a884e90
commit
226f0e0567
@ -6324,6 +6324,10 @@ gtk_window_unexport_handle (GtkWindow *window)
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
if (GDK_IS_X11_DISPLAY (gtk_widget_get_display (GTK_WIDGET (window))))
|
||||
return;
|
||||
#endif
|
||||
|
||||
g_warning ("Couldn't unexport handle for %s surface, unsupported windowing system",
|
||||
G_OBJECT_TYPE_NAME (priv->surface));
|
||||
|
Loading…
Reference in New Issue
Block a user