[gtk+/rendering-cleanup: 17/17] x11: Remove GdkDrawableImplX11
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 17/17] x11: Remove GdkDrawableImplX11
- Date: Wed, 6 Oct 2010 02:26:50 +0000 (UTC)
commit 11f2b1cdafcef617c3a5fb82251fa6a42283dc5d
Author: Benjamin Otte <otte redhat com>
Date: Wed Oct 6 04:08:20 2010 +0200
x11: Remove GdkDrawableImplX11
It's not use anymore, the whole functionality has been moved to
GdkWindowImplX11.
gdk/x11/Makefile.am | 2 -
gdk/x11/gdkdrawable-x11.c | 53 ------------------------------------
gdk/x11/gdkdrawable-x11.h | 65 ---------------------------------------------
gdk/x11/gdkwindow-x11.c | 2 +-
gdk/x11/gdkwindow-x11.h | 6 +---
5 files changed, 3 insertions(+), 125 deletions(-)
---
diff --git a/gdk/x11/Makefile.am b/gdk/x11/Makefile.am
index 6344754..b6a4751 100644
--- a/gdk/x11/Makefile.am
+++ b/gdk/x11/Makefile.am
@@ -30,8 +30,6 @@ libgdk_x11_la_SOURCES = \
gdkdisplay-x11.c \
gdkdisplay-x11.h \
gdkdnd-x11.c \
- gdkdrawable-x11.c \
- gdkdrawable-x11.h \
gdkeventsource.c \
gdkeventsource.h \
gdkeventtranslator.c \
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 35f3ae6..3733cea 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -132,7 +132,7 @@ static void gdk_window_impl_iface_init (GdkWindowImplIface *iface);
G_DEFINE_TYPE_WITH_CODE (GdkWindowImplX11,
gdk_window_impl_x11,
- GDK_TYPE_DRAWABLE_IMPL_X11,
+ GDK_TYPE_DRAWABLE,
G_IMPLEMENT_INTERFACE (GDK_TYPE_WINDOW_IMPL,
gdk_window_impl_iface_init));
diff --git a/gdk/x11/gdkwindow-x11.h b/gdk/x11/gdkwindow-x11.h
index 77eb32b..b3a0e53 100644
--- a/gdk/x11/gdkwindow-x11.h
+++ b/gdk/x11/gdkwindow-x11.h
@@ -27,8 +27,6 @@
#ifndef __GDK_WINDOW_X11_H__
#define __GDK_WINDOW_X11_H__
-#include <gdk/x11/gdkdrawable-x11.h>
-
#ifdef HAVE_XDAMAGE
#include <X11/extensions/Xdamage.h>
#endif
@@ -56,7 +54,7 @@ typedef struct _GdkXPositionInfo GdkXPositionInfo;
struct _GdkWindowImplX11
{
- GdkDrawableImplX11 parent_instance;
+ GdkDrawable parent_instance;
GdkDrawable *wrapper;
@@ -81,7 +79,7 @@ struct _GdkWindowImplX11
struct _GdkWindowImplX11Class
{
- GdkDrawableImplX11Class parent_class;
+ GdkDrawableClass parent_class;
};
struct _GdkToplevelX11
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]