gdk: Move gdk_cursor_get_display() out of the backends

Now that we store the display inside the cursor, that change is obvious.
This commit is contained in:
Benjamin Otte
2010-12-20 13:47:35 +01:00
committed by Matthias Clasen
parent 7a14b30ea3
commit 4793bd3399
4 changed files with 20 additions and 33 deletions

View File

@ -321,25 +321,6 @@ gdk_x11_cursor_get_xcursor (GdkCursor *cursor)
return ((GdkX11Cursor *)cursor)->xcursor;
}
/**
* gdk_cursor_get_display:
* @cursor: a #GdkCursor.
*
* Returns the display on which the #GdkCursor is defined.
*
* Returns: (transfer none): the #GdkDisplay associated to @cursor
*
* Since: 2.2
*/
GdkDisplay *
gdk_cursor_get_display (GdkCursor *cursor)
{
g_return_val_if_fail (cursor != NULL, NULL);
return ((GdkX11Cursor *)cursor)->display;
}
#if defined(HAVE_XCURSOR) && defined(HAVE_XFIXES) && XFIXES_MAJOR >= 2
/**