toplevel: require GdkSurface

This commit is contained in:
Matthias Clasen 2020-03-10 07:24:04 -04:00
parent 31d2b686d6
commit f005dfa5fb

View File

@ -31,11 +31,7 @@
* A #GdkToplevel is a freestanding toplevel surface.
*/
/* FIXME: this can't have GdkSurface as a prerequisite
* as long as GdkSurface implements this interface itself
*/
G_DEFINE_INTERFACE (GdkToplevel, gdk_toplevel, G_TYPE_OBJECT)
G_DEFINE_INTERFACE (GdkToplevel, gdk_toplevel, GDK_TYPE_SURFACE)
static gboolean
gdk_toplevel_default_present (GdkToplevel *toplevel,