[gtk/wip/baedert/for-master: 19/74] placesviewrow: popup-menu returns a boolean



commit 60a7e142f65d6ebf849cd9d948afcb0aa7118aa5
Author: Timm Bäder <mail baedert org>
Date:   Thu Sep 26 05:07:17 2019 +0200

    placesviewrow: popup-menu returns a boolean

 gtk/gtkplacesviewrow.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkplacesviewrow.c b/gtk/gtkplacesviewrow.c
index 79e30c9d7e..3df575aa42 100644
--- a/gtk/gtkplacesviewrow.c
+++ b/gtk/gtkplacesviewrow.c
@@ -200,7 +200,9 @@ pressed_cb (GtkGesture       *gesture,
             double            y,
             GtkPlacesViewRow *row)
 {
-  g_signal_emit_by_name (row, "popup-menu", 0);
+  gboolean menu_activated;
+
+  g_signal_emit_by_name (row, "popup-menu", &menu_activated);
 }
 
 static void


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