summaryrefslogtreecommitdiff
path: root/gdk/gdkcursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkcursor.h')
-rw-r--r--gdk/gdkcursor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h
index 14f6e4414d..fd28ce89f5 100644
--- a/gdk/gdkcursor.h
+++ b/gdk/gdkcursor.h
@@ -19,6 +19,7 @@ typedef enum
struct _GdkCursor
{
GdkCursorType type;
+ guint refcount;
};
/* Cursors
@@ -30,7 +31,8 @@ GdkCursor* gdk_cursor_new_from_pixmap (GdkPixmap *source,
GdkColor *bg,
gint x,
gint y);
-void gdk_cursor_destroy (GdkCursor *cursor);
+GdkCursor* gdk_cursor_ref (GdkCursor *cursor);
+void gdk_cursor_unref (GdkCursor *cursor);
#ifdef __cplusplus
}