[gtk+/gdk-backend] x11: Move GdkCursorPrivate into the C file
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend] x11: Move GdkCursorPrivate into the C file
- Date: Mon, 20 Dec 2010 13:14:22 +0000 (UTC)
commit 17c9a2c9ba38346df8d0b40ca92e57f293522451
Author: Benjamin Otte <otte redhat com>
Date: Mon Dec 20 02:07:27 2010 +0100
x11: Move GdkCursorPrivate into the C file
gdk/x11/gdkcursor-x11.c | 11 +++++++++++
gdk/x11/gdkprivate-x11.h | 11 -----------
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 63de8f4..5577033 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -45,6 +45,17 @@
#include <string.h>
#include <errno.h>
+typedef struct _GdkCursorPrivate GdkCursorPrivate;
+
+struct _GdkCursorPrivate
+{
+ GdkCursor cursor;
+ Cursor xcursor;
+ GdkDisplay *display;
+ gchar *name;
+ guint serial;
+};
+
static guint theme_serial = 0;
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h
index a2f80dc..edc191e 100644
--- a/gdk/x11/gdkprivate-x11.h
+++ b/gdk/x11/gdkprivate-x11.h
@@ -40,17 +40,6 @@
#include "gdkdisplay-x11.h"
#include <cairo-xlib.h>
-typedef struct _GdkCursorPrivate GdkCursorPrivate;
-
-struct _GdkCursorPrivate
-{
- GdkCursor cursor;
- Cursor xcursor;
- GdkDisplay *display;
- gchar *name;
- guint serial;
-};
-
void _gdk_x11_error_handler_push (void);
void _gdk_x11_error_handler_pop (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]