[gtk+] wayland: Don't set the wl_surface user_data twice
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Don't set the wl_surface user_data twice
- Date: Mon, 16 Mar 2015 11:54:32 +0000 (UTC)
commit 225c10bc5a1dafeccd1e86cd072fb85c172105a2
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Mar 13 15:46:55 2015 +0800
wayland: Don't set the wl_surface user_data twice
wl_surface_add_listener already sets the user data pointer, so no need
to do it separately before.
https://bugzilla.gnome.org/show_bug.cgi?id=746141
gdk/wayland/gdkwindow-wayland.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index b5f51e8..66d371f 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -870,7 +870,6 @@ gdk_wayland_window_create_surface (GdkWindow *window)
GdkWaylandDisplay *display_wayland = GDK_WAYLAND_DISPLAY (gdk_window_get_display (window));
impl->surface = wl_compositor_create_surface (display_wayland->compositor);
- wl_surface_set_user_data (impl->surface, window);
wl_surface_add_listener (impl->surface, &surface_listener, window);
gdk_wayland_window_sync_opaque_region (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]