Skip to content

Commit

Permalink
Fix deprecation with Gtk.Menu.popup (#31)
Browse files Browse the repository at this point in the history
Fix deprecation with Gtk.Menu.popup
  • Loading branch information
danirabbit authored and Alecaddd committed Jul 20, 2018
1 parent 0c7781d commit 9a26dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ executable(
dependency('glib-2.0'),
dependency('gobject-2.0'),
dependency('granite', version: '>=0.5'),
dependency('gtk+-3.0'),
dependency('gtk+-3.0', version: '>=3.22'),
dependency('libsoup-2.4'),
meson.get_compiler('vala').find_library('posix', required : false)
],
Expand Down
2 changes: 1 addition & 1 deletion src/Frontend/Widgets/FilePane.vala
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ namespace Taxi {
//add_menu_item ("Rename", menu, u => rename (u), uri);
menu.show_all ();
menu.attach_to_widget (event_box, null);
menu.popup (null, null, null, 0, Gtk.get_current_event_time ());
menu.popup_at_pointer (null);
menu.deactivate.connect (() => list_box.select_row (null));
return true;
}
Expand Down

0 comments on commit 9a26dfd

Please sign in to comment.