diff options
author | monsta <[email protected]> | 2018-05-16 13:17:44 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2018-05-16 13:17:44 +0300 |
commit | 7cae49a343bc04f503b70da00bb5a45bd5c635b3 (patch) | |
tree | a75f8ec7a9d5e3f50fa83620308228871452f14d /libcaja-private | |
parent | 8a31b066eeac97fde61fe1526bd1343271819570 (diff) | |
download | caja-7cae49a343bc04f503b70da00bb5a45bd5c635b3.tar.bz2 caja-7cae49a343bc04f503b70da00bb5a45bd5c635b3.tar.xz |
use NULL instead of uninitialized variable
follow-up to ddf6f38db4e842abecd4f2ee77012050822b3775
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-dnd.c | 6 |
1 files 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); |