diff options
author | William Hua <william.hua@canonical.com> | 2016-07-12 14:08:36 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2016-07-19 09:38:54 -0400 |
commit | 8701e34f749cf196c9726c01c03f35ce4eb39836 (patch) | |
tree | 1608d0bcc69917633b1640dfa7a3651158868880 /gtk/gtkappchooserwidget.c | |
parent | 05b9bc5cff5f2bd625412ddac2184af8c026895b (diff) | |
download | gtk+-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.c | 3 |
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); } |