diff --git a/gdk/gdkwindowimpl.c b/gdk/gdkwindowimpl.c index 681aef8cdc..57aed07552 100644 --- a/gdk/gdkwindowimpl.c +++ b/gdk/gdkwindowimpl.c @@ -31,7 +31,7 @@ #include "gdkinternals.h" -G_DEFINE_TYPE (GdkWindowImpl, gdk_window_impl, GDK_TYPE_DRAWABLE); +G_DEFINE_TYPE (GdkWindowImpl, gdk_window_impl, G_TYPE_OBJECT); static void diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index 17edbcaad4..6f246ffc88 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -43,12 +43,12 @@ typedef struct _GdkWindowImplClass GdkWindowImplClass; struct _GdkWindowImpl { - GdkDrawable parent; + GObject parent; }; struct _GdkWindowImplClass { - GdkDrawableClass parent_class; + GObjectClass parent_class; cairo_surface_t * (* ref_cairo_surface) (GdkWindow *window);