[gtk+/wip/attachment-parameters: 19/21] gtkmountoperation: use gtk_menu_popup_with_parameters ()



commit da1205350eb2a6801f64b026f84d2e6440412aac
Author: William Hua <william hua canonical com>
Date:   Fri Sep 25 11:19:55 2015 -0400

    gtkmountoperation: use gtk_menu_popup_with_parameters ()

 gtk/gtkmountoperation.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 4d7a87b..b15eeb8 100644
--- a/gtk/gtkmountoperation.c
+++ b/gtk/gtkmountoperation.c
@@ -1349,13 +1349,13 @@ do_popup_menu_for_process_tree_view (GtkWidget         *widget,
       event_time = gtk_get_current_event_time ();
     }
 
-  gtk_menu_popup (GTK_MENU (menu),
-                  NULL,
-                  widget,
-                  NULL,
-                  NULL,
-                  button,
-                  event_time);
+  gtk_menu_popup_with_parameters (GTK_MENU (menu),
+                                  NULL,
+                                  NULL,
+                                  NULL,
+                                  button,
+                                  event_time,
+                                  NULL);
 
   popped_up_menu = TRUE;
 


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