summaryrefslogtreecommitdiff
path: root/gdk/gdkcursor.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-12-20 03:27:05 +0100
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:07:05 -0500
commit3e068e921fa114d3668c53a239ac618f8fcd5110 (patch)
tree0e6158d0ebd3efbf6e4b8f1a1fc909b1d0e3496f /gdk/gdkcursor.c
parent73d8ffd74fb9783ccc00d72c19d64a08c3281e86 (diff)
downloadgtk+-3e068e921fa114d3668c53a239ac618f8fcd5110.tar.gz
API: gdk: Deprecate gdk_cursor_ref() and gdk_cursor_unref()
Now that GdkCursor is a GObject, it doesn't need custom refcount handling anymore.
Diffstat (limited to 'gdk/gdkcursor.c')
-rw-r--r--gdk/gdkcursor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c
index 3bbbbddae9..840e8fcf62 100644
--- a/gdk/gdkcursor.c
+++ b/gdk/gdkcursor.c
@@ -78,6 +78,8 @@ gdk_cursor_init (GdkCursor *cursor)
* Adds a reference to @cursor.
*
* Return value: Same @cursor that was passed in
+ *
+ * Deprecated: 3.0: Use g_object_ref() instead
*/
GdkCursor*
gdk_cursor_ref (GdkCursor *cursor)
@@ -93,6 +95,8 @@ gdk_cursor_ref (GdkCursor *cursor)
*
* Removes a reference from @cursor, deallocating the cursor
* if no references remain.
+ *
+ * Deprecated: 3.0: Use g_object_unref() instead
*/
void
gdk_cursor_unref (GdkCursor *cursor)