diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-05-01 18:50:06 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-05-01 18:50:06 +0200 |
commit | d6a7559750b0c849979f279f3219c86ffb10a064 (patch) | |
tree | c4347100863d17bc97678db0072a7c838de4b8bf | |
parent | cff5ef0ec20faedb61e7c84e15b106c939ea81ef (diff) |
wayland: Fix c&p typo in wl_listener notify callback
The corresponding wl_notify field for destroy_data_device_icon()
is drag_grab->drag_icon_listener, otherwise we're fetching a pointer
that's slightly off where we want.
-rw-r--r-- | src/wayland/meta-wayland-data-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland/meta-wayland-data-device.c b/src/wayland/meta-wayland-data-device.c index 16f626d2..4c072980 100644 --- a/src/wayland/meta-wayland-data-device.c +++ b/src/wayland/meta-wayland-data-device.c @@ -371,7 +371,7 @@ static void destroy_data_device_icon (struct wl_listener *listener, void *data) { MetaWaylandDragGrab *drag_grab = - wl_container_of (listener, drag_grab, drag_data_source_listener); + wl_container_of (listener, drag_grab, drag_icon_listener); drag_grab->drag_surface = NULL; |