[gtk+/gtk-3-22] Trivial cleanup



commit 19670f9fe6a32ba75a0514aad0702410c918e9e7
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 19 08:29:37 2017 -0500

    Trivial cleanup
    
    Better to use G_SOURCE_REMOVE than FALSE, for clarity.

 gtk/gtkgesturelongpress.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkgesturelongpress.c b/gtk/gtkgesturelongpress.c
index 8cbcce7..2ae78b4 100644
--- a/gtk/gtkgesturelongpress.c
+++ b/gtk/gtkgesturelongpress.c
@@ -107,7 +107,7 @@ _gtk_gesture_long_press_timeout (gpointer user_data)
   priv->triggered = TRUE;
   g_signal_emit (gesture, signals[PRESSED], 0, x, y);
 
-  return FALSE;
+  return G_SOURCE_REMOVE;
 }
 
 static void


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