Commit 2a1db380 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

MainWindowStructure: don't use gtk_menu_popup() (deprecated)

parent 6fd95f54
......@@ -96,11 +96,7 @@ public class MainWindowStructure
private void show_popup_menu (Gdk.EventButton? event)
Gtk.Menu popup_menu = _ui_manager.get_widget ("/StructurePopup") as Gtk.Menu;
if (event != null)
popup_menu.popup (null, null, null, event.button, event.time);
popup_menu.popup (null, null, null, 0, get_current_event_time ());
popup_menu.popup_at_pointer (event);
private void set_menu_insensitive ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment