[mutter/gnome-3-16] 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/gnome-3-16] wayland: Fix c&p typo in wl_listener notify callback
- Date: Fri, 1 May 2015 16:58:18 +0000 (UTC)
commit 5b6380d394b87c830fd7a242a7dc501e5283d804
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]