[gtk+/wip/attachment-parameters: 113/117] gtkplacesview: use gtk_menu_popup_with_parameters ()



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

    gtkplacesview: use gtk_menu_popup_with_parameters ()

 gtk/gtkplacesview.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 8fc6ec7..0113380 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1713,13 +1713,13 @@ 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_parameters (GTK_MENU (priv->popup_menu),
+                                  NULL,
+                                  NULL,
+                                  NULL,
+                                  button,
+                                  event ? event->time : gtk_get_current_event_time (),
+                                  NULL);
 }
 
 static gboolean


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