summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-dnd.c6
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);