summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/gdktoplevel.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdk/gdktoplevel.c b/gdk/gdktoplevel.c
index 6d9e2a9955..1cfeb2c448 100644
--- a/gdk/gdktoplevel.c
+++ b/gdk/gdktoplevel.c
@@ -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,