From 7e0f588c91923d0983e6ecaa904b559890c265c3 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Sat, 11 Jul 2015 18:09:45 +0800 Subject: [PATCH] trivial: Fix return value error in clutter_event_get_gesture_motion_delta --- clutter/clutter-event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clutter/clutter-event.c b/clutter/clutter-event.c index 5f86eb0c7..de1d5a8e2 100644 --- a/clutter/clutter-event.c +++ b/clutter/clutter-event.c @@ -1980,9 +1980,9 @@ clutter_event_get_gesture_motion_delta (const ClutterEvent *event, gdouble *dx, gdouble *dy) { - g_return_val_if_fail (event != NULL, FALSE); - g_return_val_if_fail (event->type == CLUTTER_TOUCHPAD_PINCH || - event->type == CLUTTER_TOUCHPAD_SWIPE, FALSE); + g_return_if_fail (event != NULL); + g_return_if_fail (event->type == CLUTTER_TOUCHPAD_PINCH || + event->type == CLUTTER_TOUCHPAD_SWIPE); if (event->type == CLUTTER_TOUCHPAD_PINCH) {