summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-zoom-control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/caja-zoom-control.c b/src/caja-zoom-control.c
index 9143edda..f875c42a 100644
--- a/src/caja-zoom-control.c
+++ b/src/caja-zoom-control.c
@@ -140,14 +140,13 @@ static void
zoom_popup_menu (GtkWidget *widget, CajaZoomControl *zoom_control)
{
GtkMenu *menu;
- GdkEvent *event;
menu = create_zoom_menu (zoom_control);
gtk_menu_popup_at_widget (menu,
widget,
GDK_GRAVITY_SOUTH_WEST,
GDK_GRAVITY_NORTH_WEST,
- (const GdkEvent*) event);
+ NULL);
gtk_menu_shell_select_first (GTK_MENU_SHELL (menu), FALSE);
}