Replace lots of deprecated gtk_menu_popup(), only GimpUIManager left

This commit is contained in:
Michael Natterer
2018-05-01 23:21:04 +02:00
parent 251d2f494e
commit 6c8cf7876a
12 changed files with 30 additions and 95 deletions

View File

@ -719,8 +719,7 @@ polygon_handle_popup (GdkEventButton *event, gboolean near_sash,
gtk_widget_set_sensitive (delete, near_sash);
gtk_widget_set_sensitive (insert, near_edge);
gtk_menu_popup(GTK_MENU(popup), NULL, NULL, NULL, NULL,
event->button, event->time);
gtk_menu_popup_at_pointer (GTK_MENU (popup), (GdkEvent *) event);
}
static void