Commit 3e068e92 authored by Benjamin Otte's avatar Benjamin Otte Committed by Matthias Clasen
Browse files

API: gdk: Deprecate gdk_cursor_ref() and gdk_cursor_unref()

Now that GdkCursor is a GObject, it doesn't need custom refcount
handling anymore.
parent 73d8ffd7
......@@ -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
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
gdk_cursor_unref (GdkCursor *cursor)
......@@ -228,11 +228,13 @@ GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display,
GdkPixbuf *pixbuf,
gint x,
gint y);
GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
const gchar *name);
GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor);
GdkCursor* gdk_cursor_ref (GdkCursor *cursor);
void gdk_cursor_unref (GdkCursor *cursor);
GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
const gchar *name);
GdkPixbuf* gdk_cursor_get_image (GdkCursor *cursor);
GdkCursorType gdk_cursor_get_cursor_type (GdkCursor *cursor);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment