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

@ -391,14 +391,6 @@ gdk_display_get_maximal_cursor_size (GdkDisplay *display,
*height = 65536;
}
GdkDisplay *
gdk_cursor_get_display (GdkCursor *cursor)
{
g_return_val_if_fail (cursor != NULL, NULL);
return gdk_display_get_default ();
}
GdkPixbuf *
gdk_cursor_get_image (GdkCursor *cursor)
{