diff options
author | Benjamin Otte <otte@redhat.com> | 2010-11-24 15:11:34 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-12-02 20:21:04 +0100 |
commit | 4bfa4e0d86b72bd1970be60f423dc80dd3296087 (patch) | |
tree | eff7cc4757e8adf7fb123e2d13c96ce46417cde5 /gdk | |
parent | 3494f87a10ec69521c2e3b4f5073d25385838297 (diff) | |
download | gtk+-4bfa4e0d86b72bd1970be60f423dc80dd3296087.tar.gz |
gdk: Make GdkWindowImpl inherit from GObject
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkwindowimpl.c | 2 | ||||
-rw-r--r-- | gdk/gdkwindowimpl.h | 4 |
2 files changed, 3 insertions, 3 deletions
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); |