[gtk+] gdk: Make GdkWindowImpl inherit from GObject
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk: Make GdkWindowImpl inherit from GObject
- Date: Thu, 2 Dec 2010 19:57:02 +0000 (UTC)
commit 4bfa4e0d86b72bd1970be60f423dc80dd3296087
Author: Benjamin Otte <otte redhat com>
Date: Wed Nov 24 15:11:34 2010 +0100
gdk: Make GdkWindowImpl inherit from GObject
gdk/gdkwindowimpl.c | 2 +-
gdk/gdkwindowimpl.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkwindowimpl.c b/gdk/gdkwindowimpl.c
index 681aef8..57aed07 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 17edbca..6f246ff 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]