diff options
author | Alexander Larsson <alexl@redhat.com> | 2013-08-07 12:18:38 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2013-08-07 13:34:10 +0200 |
commit | b2113b73843a180747ccec43a48e369617ddabd0 (patch) | |
tree | 9ffbf204764a0bfa33c95763b109174831d5dca8 /gdk/wayland/gdkdisplay-wayland.c | |
parent | 71fe43543c765f12b22e7c6508ed4d58ea5075a6 (diff) | |
download | gtk+-b2113b73843a180747ccec43a48e369617ddabd0.tar.gz |
gdk: Add gdk_cursor_new_from_surface
We need this to be able to handle scaled cursor images.
We implement the new _from_pixbuf by converting to a surface and
assuming the scale was 1.
Diffstat (limited to 'gdk/wayland/gdkdisplay-wayland.c')
-rw-r--r-- | gdk/wayland/gdkdisplay-wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c index 7d748e05a2..db47bfe0cc 100644 --- a/gdk/wayland/gdkdisplay-wayland.c +++ b/gdk/wayland/gdkdisplay-wayland.c @@ -587,7 +587,7 @@ gdk_wayland_display_class_init (GdkWaylandDisplayClass * class) display_class->get_maximal_cursor_size = _gdk_wayland_display_get_maximal_cursor_size; display_class->get_cursor_for_type = _gdk_wayland_display_get_cursor_for_type; display_class->get_cursor_for_name = _gdk_wayland_display_get_cursor_for_name; - display_class->get_cursor_for_pixbuf = _gdk_wayland_display_get_cursor_for_pixbuf; + display_class->get_cursor_for_surface = _gdk_wayland_display_get_cursor_for_surface; display_class->supports_cursor_alpha = _gdk_wayland_display_supports_cursor_alpha; display_class->supports_cursor_color = _gdk_wayland_display_supports_cursor_color; display_class->before_process_all_updates = gdk_wayland_display_before_process_all_updates; |