diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-03 01:59:15 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-04 00:07:13 +0100 |
commit | 5adf21a17d7674ef4a8b39575d05570d7fe55fbc (patch) | |
tree | cdcee3bf97fd7d14d4451b5e84017b8bf869ff5e /gdk/gdkdisplayprivate.h | |
parent | 0cad0caf7dcdc29955ed7dde644a762d2f327d7f (diff) | |
download | gtk+-5adf21a17d7674ef4a8b39575d05570d7fe55fbc.tar.gz |
cursor: Turn new_from_surface() into new_from_texture()
Also turn all the arguments into read-only properties on the GdkCursor
object.
Diffstat (limited to 'gdk/gdkdisplayprivate.h')
-rw-r--r-- | gdk/gdkdisplayprivate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h index 3da44a2e16..208a7a4dbf 100644 --- a/gdk/gdkdisplayprivate.h +++ b/gdk/gdkdisplayprivate.h @@ -147,10 +147,10 @@ struct _GdkDisplayClass guint *height); GdkCursor * (*get_cursor_for_name) (GdkDisplay *display, const gchar *name); - GdkCursor * (*get_cursor_for_surface) (GdkDisplay *display, - cairo_surface_t *surface, - gdouble x, - gdouble y); + GdkCursor * (*get_cursor_for_texture) (GdkDisplay *display, + GdkTexture *texture, + int x, + int y); GdkAppLaunchContext * (*get_app_launch_context) (GdkDisplay *display); |