summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-utils.c
diff options
context:
space:
mode:
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