diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-11-01 21:47:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-11-01 21:49:05 -0400 |
commit | 2a60928157c246250b36a2e5f83a27d10e8b186e (patch) | |
tree | 5bbda942dac2a9581dff40a94099e00c4fda6d22 /gdk/gdkcursor.c | |
parent | 47fb3292796c5414e19da7733bf0b9745a94d00c (diff) | |
download | gtk+-2a60928157c246250b36a2e5f83a27d10e8b186e.tar.gz |
t Remove gdk_cursor_new_for_display
The preferred api to create cursors is by name, and the
GdkCursorType enumeration can directly trace its ancestry
to the horrible X cursor font. So lets stop using it.
Diffstat (limited to 'gdk/gdkcursor.c')
-rw-r--r-- | gdk/gdkcursor.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c index 03d597bb9f..1110efdaa7 100644 --- a/gdk/gdkcursor.c +++ b/gdk/gdkcursor.c @@ -148,44 +148,6 @@ gdk_cursor_init (GdkCursor *cursor) } /** - * gdk_cursor_get_cursor_type: - * @cursor: a #GdkCursor - * - * Returns the cursor type for this cursor. - * - * Returns: a #GdkCursorType - * - * Since: 2.22 - **/ -GdkCursorType -gdk_cursor_get_cursor_type (GdkCursor *cursor) -{ - g_return_val_if_fail (cursor != NULL, GDK_BLANK_CURSOR); - - return cursor->type; -} - -/** - * gdk_cursor_new_for_display: - * @display: the #GdkDisplay for which the cursor will be created - * @cursor_type: cursor to create - * - * Creates a new cursor from the set of builtin cursors. - * - * Returns: a new #GdkCursor - * - * Since: 2.2 - **/ -GdkCursor* -gdk_cursor_new_for_display (GdkDisplay *display, - GdkCursorType cursor_type) -{ - g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL); - - return GDK_DISPLAY_GET_CLASS (display)->get_cursor_for_type (display, cursor_type); -} - -/** * gdk_cursor_new_from_name: * @display: the #GdkDisplay for which the cursor will be created * @name: the name of the cursor |