gdk: Make GdkWindowImpl inherit from GObject

This commit is contained in:
Benjamin Otte 2010-11-24 15:11:34 +01:00
parent 3494f87a10
commit 4bfa4e0d86
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);