[gtk+/wip/attachment-parameters-3: 22/24] gtkmountoperation: use gtk_menu_popup_with_params ()



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

    gtkmountoperation: use gtk_menu_popup_with_params ()

 gtk/gtkmountoperation.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c
index 4d7a87b..39ea94d 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_params (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]