From 0583603b0943a37c3dbedd8f34c6403c8caca9ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 10 Feb 2011 10:49:51 -0500 Subject: [PATCH] wayland: Actually return device in _gdk_wayland_device_get_device() --- gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 39e17431dd..46abf58611 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -255,7 +255,7 @@ gdk_device_core_init (GdkDeviceCore *device_core) struct wl_input_device * _gdk_wayland_device_get_device (GdkDevice *device) { - GDK_DEVICE_CORE (device)->device->device; + return GDK_DEVICE_CORE (device)->device->device; } static void