From 7cae49a343bc04f503b70da00bb5a45bd5c635b3 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 16 May 2018 13:17:44 +0300 Subject: use NULL instead of uninitialized variable follow-up to ddf6f38db4e842abecd4f2ee77012050822b3775 --- libcaja-private/caja-dnd.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libcaja-private/caja-dnd.c b/libcaja-private/caja-dnd.c index 8512642a..d7dfdc14 100644 --- a/libcaja-private/caja-dnd.c +++ b/libcaja-private/caja-dnd.c @@ -785,7 +785,6 @@ caja_drag_drop_action_ask (GtkWidget *widget, GtkWidget *menu; GtkWidget *menu_item; DropActionMenuData damd; - GdkEvent *event; /* Create the menu and set the sensitivity of the items based on the * allowed actions. @@ -828,7 +827,7 @@ caja_drag_drop_action_ask (GtkWidget *widget, gtk_grab_add (menu); - gtk_menu_popup_at_pointer (GTK_MENU (menu), (const GdkEvent*) event); + gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL); g_main_loop_run (damd.loop); @@ -849,7 +848,6 @@ caja_drag_drop_background_ask (GtkWidget *widget, GtkWidget *menu; GtkWidget *menu_item; DropActionMenuData damd; - GdkEvent *event; /* Create the menu and set the sensitivity of the items based on the * allowed actions. @@ -882,7 +880,7 @@ caja_drag_drop_background_ask (GtkWidget *widget, gtk_grab_add (menu); - gtk_menu_popup_at_pointer (GTK_MENU (menu), (const GdkEvent*) event); + gtk_menu_popup_at_pointer (GTK_MENU (menu), NULL); g_main_loop_run (damd.loop); -- cgit v1.2.1