[gtk+/rendering-cleanup: 33/65] API: Remove gdkdrawable.h from public headers
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 33/65] API: Remove gdkdrawable.h from public headers
- Date: Thu, 2 Dec 2010 11:54:13 +0000 (UTC)
commit 754b27335f27cb3405686e7b253f4eb7bd3ee689
Author: Benjamin Otte <otte redhat com>
Date: Mon Nov 22 18:08:25 2010 +0100
API: Remove gdkdrawable.h from public headers
It continues to exist as a private header.
gdk/gdk.h | 1 -
gdk/gdkdrawable.h | 5 +----
gdk/gdktypes.h | 2 --
3 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gdk/gdk.h b/gdk/gdk.h
index 9bc9622..851185a 100644
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -38,7 +38,6 @@
#include <gdk/gdkdisplay.h>
#include <gdk/gdkdisplaymanager.h>
#include <gdk/gdkdnd.h>
-#include <gdk/gdkdrawable.h>
#include <gdk/gdkenumtypes.h>
#include <gdk/gdkevents.h>
#include <gdk/gdkinput.h>
diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h
index b8799e3..d790b02 100644
--- a/gdk/gdkdrawable.h
+++ b/gdk/gdkdrawable.h
@@ -24,10 +24,6 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
-#error "Only <gdk/gdk.h> can be included directly."
-#endif
-
#ifndef __GDK_DRAWABLE_H__
#define __GDK_DRAWABLE_H__
@@ -38,6 +34,7 @@
G_BEGIN_DECLS
+typedef struct _GdkDrawable GdkDrawable;
typedef struct _GdkDrawableClass GdkDrawableClass;
#define GDK_TYPE_DRAWABLE (gdk_drawable_get_type ())
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index f50d02f..865a7f5 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -139,8 +139,6 @@ typedef struct _GdkRGBA GdkRGBA;
typedef struct _GdkCursor GdkCursor;
typedef struct _GdkVisual GdkVisual;
-typedef struct _GdkDrawable GdkDrawable;
-
/**
* GdkWindow:
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]