[gtk+/wip/attachment-parameters-4: 16/20] gtkplacesview: use gtk_menu_popup_with_params ()



commit 4a5c5d7452270985d411d5b4b5d341d1b4136663
Author: William Hua <william hua canonical com>
Date:   Fri Sep 25 09:47:42 2015 -0400

    gtkplacesview: use gtk_menu_popup_with_params ()

 gtk/gtkplacesview.c |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 9588877..c5a3b0e 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1694,13 +1694,14 @@ popup_menu (GtkPlacesViewRow *row,
       button = 0;
     }
 
-  gtk_menu_popup (GTK_MENU (priv->popup_menu),
-                  NULL,
-                  NULL,
-                  NULL,
-                  NULL,
-                  button,
-                  event ? event->time : gtk_get_current_event_time ());
+  gtk_menu_popup_with_params (GTK_MENU (priv->popup_menu),
+                              NULL,
+                              NULL,
+                              NULL,
+                              button,
+                              event ? event->time : gtk_get_current_event_time (),
+                              TRUE,
+                              NULL);
 }
 
 static gboolean


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