[gtk+] Trivial cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Trivial cleanup
- Date: Sun, 19 Nov 2017 14:33:50 +0000 (UTC)
commit 2f9d980c93018facaf99a9940ef78381b4f1a5a3
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 dfdaca0..948b5de 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]