summaryrefslogtreecommitdiff
path: root/gdk/gdkcursorprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-20 03:09:31 +0100
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:07:04 -0500
commit0b4913a1666aae0907bb32626a1c89a2e5a50e76 (patch)
treeda3c1425a5fc3710804c37c3a370281fe4a098ae /gdk/gdkcursorprivate.h
parent66e38945390cd86a3f97867fc63005d5e60ed7fc (diff)
downloadgtk+-0b4913a1666aae0907bb32626a1c89a2e5a50e76.tar.gz
gdk: Make GdkCursor a GObject
Also port the X11 implementation. Win32 and Quartz need to be ported still.
Diffstat (limited to 'gdk/gdkcursorprivate.h')
-rw-r--r--gdk/gdkcursorprivate.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gdk/gdkcursorprivate.h b/gdk/gdkcursorprivate.h
index 8b174b6ebe..1381010450 100644
--- a/gdk/gdkcursorprivate.h
+++ b/gdk/gdkcursorprivate.h
@@ -31,11 +31,19 @@
G_BEGIN_DECLS
+typedef struct _GdkCursorClass GdkCursorClass;
+
struct _GdkCursor
{
+ GObject parent_instance;
+
/*< private >*/
GdkCursorType type;
- guint ref_count;
+};
+
+struct _GdkCursorClass
+{
+ GObjectClass parent_class;
};
G_END_DECLS