summaryrefslogtreecommitdiff
path: root/gdk/gdkcursor.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-03 23:19:22 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-04 00:07:13 +0100
commit9323d098a6b80b396272ef9a1649218fbdced13b (patch)
tree2e6ee72e50d59e4d8e0faad7ecb7cd967a90a857 /gdk/gdkcursor.h
parente2996732b9ede9a0fb9e43e1ef2d468efd0021ae (diff)
downloadgtk+-9323d098a6b80b396272ef9a1649218fbdced13b.tar.gz
gdk: Cursors no longer have a display
Change constructors to reflect that. While doing so, also add a fallback argument to the cursor constructors, so it is now possible to create cursors with fallback.
Diffstat (limited to 'gdk/gdkcursor.h')
-rw-r--r--gdk/gdkcursor.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/gdk/gdkcursor.h b/gdk/gdkcursor.h
index df88e023dc..21210a0c3c 100644
--- a/gdk/gdkcursor.h
+++ b/gdk/gdkcursor.h
@@ -46,20 +46,19 @@ GDK_AVAILABLE_IN_ALL
GType gdk_cursor_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
-GdkCursor* gdk_cursor_new_from_pixbuf (GdkDisplay *display,
- GdkPixbuf *pixbuf,
+GdkCursor* gdk_cursor_new_from_pixbuf (GdkPixbuf *pixbuf,
gint x,
- gint y);
+ gint y,
+ GdkCursor *fallback);
GDK_AVAILABLE_IN_3_94
-GdkCursor* gdk_cursor_new_from_texture (GdkDisplay *display,
- GdkTexture *texture,
+GdkCursor* gdk_cursor_new_from_texture (GdkTexture *texture,
int hotspot_x,
- int hotspot_y);
+ int hotspot_y,
+ GdkCursor *fallback);
GDK_AVAILABLE_IN_ALL
-GdkCursor* gdk_cursor_new_from_name (GdkDisplay *display,
- const gchar *name);
-GDK_AVAILABLE_IN_ALL
-GdkDisplay* gdk_cursor_get_display (GdkCursor *cursor);
+GdkCursor* gdk_cursor_new_from_name (const gchar *name,
+ GdkCursor *fallback);
+
GDK_AVAILABLE_IN_3_94
GdkCursor * gdk_cursor_get_fallback (GdkCursor *cursor);
GDK_AVAILABLE_IN_3_94