summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserwidget.c
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2016-07-12 14:08:36 -0400
committerWilliam Hua <william.hua@canonical.com>2016-07-19 09:38:54 -0400
commit8701e34f749cf196c9726c01c03f35ce4eb39836 (patch)
tree1608d0bcc69917633b1640dfa7a3651158868880 /gtk/gtkappchooserwidget.c
parent05b9bc5cff5f2bd625412ddac2184af8c026895b (diff)
downloadgtk+-8701e34f749cf196c9726c01c03f35ce4eb39836.tar.gz
port to new gtk_menu_popup_at_* () functions
https://bugzilla.gnome.org/show_bug.cgi?id=756579
Diffstat (limited to 'gtk/gtkappchooserwidget.c')
-rw-r--r--gtk/gtkappchooserwidget.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 2aeb2b9449..fd9e6b9e8c 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -257,8 +257,7 @@ 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_at_pointer (GTK_MENU (menu), (GdkEvent *) event);
g_list_free (children);
}