[gtk+] API: gdk: Get rid of GdkNativeWindow
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] API: gdk: Get rid of GdkNativeWindow
- Date: Tue, 1 Feb 2011 17:52:58 +0000 (UTC)
commit 5f594b613eba0fca08e3866be3756e3afe798fc0
Author: Benjamin Otte <otte redhat com>
Date: Tue Feb 1 18:31:44 2011 +0100
API: gdk: Get rid of GdkNativeWindow
Also get rid of the GDK_NATIVE_WINDOW_POINTER define.
configure.ac | 1 -
docs/reference/gdk/gdk3-sections.txt | 1 -
gdk/gdkconfig.h.win32 | 2 --
gdk/gdktypes.h | 18 ------------------
4 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0e9849d..571f773 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,7 +326,6 @@ if test "x$enable_win32_backend" == xyes; then
GDK_BACKENDS="$GDK_BACKENDS win32"
backend_immodules="$backend_immodules,ime"
GDK_WINDOWING="$GDK_WINDOWING
-#define GDK_NATIVE_WINDOW_POINTER
#define GDK_WINDOWING_WIN32"
GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -lgdi32 -limm32 -lshell32 -lole32 -Wl,-luuid"
AM_CONDITIONAL(USE_WIN32, true)
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 574977d..2b41204 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -811,7 +811,6 @@ GdkEventFocus
GdkEventConfigure
GdkEventProperty
GdkEventSelection
-GdkNativeWindow
GdkEventDND
GdkEventProximity
GdkEventWindowState
diff --git a/gdk/gdkconfig.h.win32 b/gdk/gdkconfig.h.win32
index df25061..7bd668e 100644
--- a/gdk/gdkconfig.h.win32
+++ b/gdk/gdkconfig.h.win32
@@ -19,8 +19,6 @@ extern "C" {
# endif
#endif /* !GSEAL */
-#define GDK_NATIVE_WINDOW_POINTER
-
#define GDK_WINDOWING_WIN32
#define GDK_HAVE_WCHAR_H 1
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index d655ff9..c3ab38f 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -104,12 +104,6 @@ typedef struct _GdkAtom *GdkAtom;
*/
#define GDK_POINTER_TO_ATOM(ptr) ((GdkAtom)(ptr))
-#ifdef GDK_NATIVE_WINDOW_POINTER
-#define GDK_GPOINTER_TO_NATIVE_WINDOW(p) ((GdkNativeWindow) (p))
-#else
-#define GDK_GPOINTER_TO_NATIVE_WINDOW(p) GPOINTER_TO_UINT(p)
-#endif
-
#define _GDK_MAKE_ATOM(val) ((GdkAtom)GUINT_TO_POINTER(val))
/**
@@ -120,18 +114,6 @@ typedef struct _GdkAtom *GdkAtom;
*/
#define GDK_NONE _GDK_MAKE_ATOM (0)
-/**
- * GdkNativeWindow:
- *
- * Used to represent native windows (<type>Window</type>s for the X11
- * backend, <type>HWND</type>s for Win32).
- */
-#ifdef GDK_NATIVE_WINDOW_POINTER
-typedef gpointer GdkNativeWindow;
-#else
-typedef guint32 GdkNativeWindow;
-#endif
-
/* Forward declarations of commonly used types */
typedef struct _GdkColor GdkColor;
typedef struct _GdkRGBA GdkRGBA;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]