summaryrefslogtreecommitdiff
path: root/baobab/src/baobab.c
diff options
context:
space:
mode:
Diffstat (limited to 'baobab/src/baobab.c')
-rw-r--r--baobab/src/baobab.c5
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);
}