[clutter/clutter-1.18] evdev: Kill compile warning



commit fdd553d2a9bef6cd449311e491fd985cad750f93
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Feb 28 09:50:36 2014 -0500

    evdev: Kill compile warning

 clutter/evdev/clutter-device-manager-evdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c
index 9edb6bf..fb6c0a2 100644
--- a/clutter/evdev/clutter-device-manager-evdev.c
+++ b/clutter/evdev/clutter-device-manager-evdev.c
@@ -1547,7 +1547,7 @@ clutter_evdev_get_keyboard_map (ClutterDeviceManager *evdev)
 {
   ClutterDeviceManagerEvdev *manager_evdev;
 
-  g_return_if_fail (CLUTTER_IS_DEVICE_MANAGER_EVDEV (evdev));
+  g_return_val_if_fail (CLUTTER_IS_DEVICE_MANAGER_EVDEV (evdev), NULL);
 
   manager_evdev = CLUTTER_DEVICE_MANAGER_EVDEV (evdev);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]