summaryrefslogtreecommitdiff
path: root/gtk/gtkgestureswipe.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-24 16:16:41 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-24 16:16:41 +0200
commit4bbca4451290a0ae7029f1886698800228321982 (patch)
treeb658512bd0b17a8538d6d7870c122a95bfe0b017 /gtk/gtkgestureswipe.c
parentb03d54b75f28b38fa1efbb79005970c4d9df9d26 (diff)
downloadgtk+-4bbca4451290a0ae7029f1886698800228321982.tar.gz
gestureswipe: Fix return value
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;