[gtk+/wip/attachment-parameters: 13/16] gtkappchooserwidget: use gtk_menu_popup_with_parameters ()
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/attachment-parameters: 13/16] gtkappchooserwidget: use gtk_menu_popup_with_parameters ()
- Date: Mon, 28 Sep 2015 14:21:39 +0000 (UTC)
commit ea0de7ba03ad0d95d5f07c28ff1e1c86ff98926a
Author: William Hua <william hua canonical com>
Date: Fri Sep 25 09:50:22 2015 -0400
gtkappchooserwidget: use gtk_menu_popup_with_parameters ()
gtk/gtkappchooserwidget.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index aa6b0df..2f1aec6 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -253,8 +253,13 @@ widget_button_press_event_cb (GtkWidget *widget,
if (n_children > 0)
/* actually popup the menu */
- gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL,
- event->button, event->time);
+ gtk_menu_popup_with_parameters (GTK_MENU (menu),
+ NULL,
+ NULL,
+ NULL,
+ event->button,
+ event->time,
+ NULL);
g_list_free (children);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]