[mutter] wayland: Fix c&p typo in wl_listener notify callback
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Fix c&p typo in wl_listener notify callback
- Date: Fri, 1 May 2015 16:57:00 +0000 (UTC)
commit d6a7559750b0c849979f279f3219c86ffb10a064
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri May 1 18:50:06 2015 +0200
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.
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 16f626d..4c07298 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]