From cd3ddf900fe4c392ba864bd6d12d914de211114a Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Thu, 28 Jun 2001 16:35:38 +0000 Subject: The following changes correspond to bug #56812 2001-06-29 James Henstridge The following changes correspond to bug #56812 * gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type code for GdkDevice. * gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for GdkCursor. --- gdk/gdkcursor.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gdk/gdkcursor.c') diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c index e743f28f71..ca1ff045aa 100644 --- a/gdk/gdkcursor.c +++ b/gdk/gdkcursor.c @@ -27,6 +27,20 @@ #include "gdkcursor.h" #include "gdkinternals.h" +GType +gdk_cursor_get_type (void) +{ + static GType our_type = 0; + + if (our_type == 0) + our_type = g_boxed_type_register_static ("GdkCursor", + NULL, + (GBoxedCopyFunc)gdk_cursor_ref, + (GBoxedFreeFunc)gdk_cursor_unref, + TRUE); + return our_type; +} + /** * gdk_cursor_ref: * @cursor: a #GdkCursor -- cgit v1.2.1