summaryrefslogtreecommitdiff
path: root/gtk/gtkgestureswipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgestureswipe.c')
-rw-r--r--gtk/gtkgestureswipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgestureswipe.c b/gtk/gtkgestureswipe.c
index 1502f765f8..211789d2c6 100644
--- a/gtk/gtkgestureswipe.c
+++ b/gtk/gtkgestureswipe.c
@@ -263,7 +263,7 @@ gtk_gesture_swipe_get_velocity (GtkGestureSwipe *gesture,
{
gdouble vel_x, vel_y;
- g_return_val_if_fail (GTK_IS_GESTURE (gesture), NULL);
+ g_return_val_if_fail (GTK_IS_GESTURE (gesture), FALSE);
if (!gtk_gesture_is_recognized (GTK_GESTURE (gesture)))
return FALSE;