From bd3e4f170932f782178819239e5b4c8b3d4d2707 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 21 Aug 2014 15:26:14 +0100 Subject: [PATCH] evdev: Fix compiler warning --- clutter/evdev/clutter-device-manager-evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c index 7b833b5e2..77a8ec673 100644 --- a/clutter/evdev/clutter-device-manager-evdev.c +++ b/clutter/evdev/clutter-device-manager-evdev.c @@ -1866,7 +1866,7 @@ clutter_evdev_set_keyboard_layout_index (ClutterDeviceManager *evdev, xkb_mod_mask_t locked_mods; struct xkb_state *state; - g_return_val_if_fail (CLUTTER_IS_DEVICE_MANAGER_EVDEV (evdev), NULL); + g_return_if_fail (CLUTTER_IS_DEVICE_MANAGER_EVDEV (evdev)); manager_evdev = CLUTTER_DEVICE_MANAGER_EVDEV (evdev); state = manager_evdev->priv->main_seat->xkb;