GNOME Bugzilla – Bug 772552
Deprecate gtk_menu_popup
Last modified: 2016-10-13 15:08:50 UTC
recently in https://bugzilla.gnome.org/show_bug.cgi?id=772507 I learnt gtk_menu_popup doesn't work as expected in backends with no global coordinates like wayland, which is unexpected and no warning is raised. Instead we have gtk_menu_popup_at_pointer (new in gtk+ 3.22) and gtk_menu_popup_at_widget as pointed out by Emmanuele that work in backends with no global coordinates. Given that, I think would be best to deprecate gtk_menu_popup in favor of those functions.
Was gtk_menu_popup deprecated? In unstable documentation it's not listed as deprecated: https://developer.gnome.org/gtk3/unstable/GtkMenu.html#gtk-menu-popup Thank you.
(In reply to Leo Ufimtsev from comment #1) > Was gtk_menu_popup deprecated? Yes: https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=dd9a9d9dcca9f02de1038ace3f278f8ef14a7052 > In unstable documentation it's not listed as deprecated: > https://developer.gnome.org/gtk3/unstable/GtkMenu.html#gtk-menu-popup The documentation website is only updated after a release, not at every git commit.