summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-utils.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-09-13 14:22:04 +0200
committerraveit65 <[email protected]>2018-09-23 16:32:48 +0200
commit1a5e0dd111c30a5ead53f42984e212c7634c5428 (patch)
treeef2b7c227d9b2f62136fd21e18de753461a886d5 /baobab/src/baobab-utils.c
parent360512a5afa4d72d33fcfb5df3c81ac53ff373ea (diff)
downloadmate-utils-1a5e0dd111c30a5ead53f42984e212c7634c5428.tar.bz2
mate-utils-1a5e0dd111c30a5ead53f42984e212c7634c5428.tar.xz
disk-usage-analyzer: replace deprecated gtk_menu_popup
Diffstat (limited to 'baobab/src/baobab-utils.c')
-rw-r--r--baobab/src/baobab-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index 1da18c12..fb68924b 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -371,8 +371,8 @@ popupmenu_list (GtkTreePath *path, GdkEventButton *event, gboolean can_trash)
}
gtk_widget_show_all (pmenu);
- gtk_menu_popup (GTK_MENU (pmenu), NULL, NULL, NULL, NULL,
- event->button, event->time);
+ gtk_menu_popup_at_pointer (GTK_MENU (pmenu),
+ (const GdkEvent*) event);
}
void