summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-05-16 14:53:44 +0300
committermonsta <[email protected]>2018-05-16 14:54:23 +0300
commit9bf65eef92d7753a6be904fab41bb076697a4a87 (patch)
treeb46e7c2f5926418226c1237a2fafaf42a943efb9 /src
parent13fe58e1acc2d53a0ed2f9687b9ad00d67975c3e (diff)
downloadcaja-9bf65eef92d7753a6be904fab41bb076697a4a87.tar.bz2
caja-9bf65eef92d7753a6be904fab41bb076697a4a87.tar.xz
zoom-control: use NULL instead of uninitialized variable
Diffstat (limited to 'src')
-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);
}