diff options
author | raveit65 <[email protected]> | 2018-09-13 14:22:04 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-09-23 16:32:48 +0200 |
commit | 1a5e0dd111c30a5ead53f42984e212c7634c5428 (patch) | |
tree | ef2b7c227d9b2f62136fd21e18de753461a886d5 /baobab/src/baobab.c | |
parent | 360512a5afa4d72d33fcfb5df3c81ac53ff373ea (diff) | |
download | mate-utils-1a5e0dd111c30a5ead53f42984e212c7634c5428.tar.bz2 mate-utils-1a5e0dd111c30a5ead53f42984e212c7634c5428.tar.xz |
disk-usage-analyzer: replace deprecated gtk_menu_popup
Diffstat (limited to 'baobab/src/baobab.c')
-rw-r--r-- | baobab/src/baobab.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c index 95b9f3f6..92775bea 100644 --- a/baobab/src/baobab.c +++ b/baobab/src/baobab.c @@ -1002,9 +1002,8 @@ on_chart_button_release (BaobabChart *chart, baobab_chart_can_zoom_out (baobab.current_chart)); /* show the menu */ - gtk_menu_popup (GTK_MENU (menu->widget), - NULL, NULL, NULL, NULL, - event->button, event->time); + gtk_menu_popup_at_pointer (GTK_MENU (menu->widget), + (const GdkEvent*) event); gtk_tree_path_free (root_path); } |