wayland: Actually return device in _gdk_wayland_device_get_device()

This commit is contained in:
Kristian Høgsberg 2011-02-10 10:49:51 -05:00
parent f7f1b59e05
commit 0583603b09

View File

@ -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