From df3d35dab11a1f3afe99c656d8c7ef06d8ab4a23 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Sat, 15 Sep 2012 22:45:38 +0200 Subject: [PATCH] No need to update GdkDragContext:action Updating GdkDragContext:action is not needed and this field is private anyway. --- src/notebook.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/notebook.c b/src/notebook.c index 3ab2efe9..3bf62a46 100644 --- a/src/notebook.c +++ b/src/notebook.c @@ -785,11 +785,6 @@ on_window_drag_data_received(GtkWidget *widget, GdkDragContext *drag_context, if (length > 0 && gtk_selection_data_get_format(data) == 8) { - if (drag_context->action == GDK_ACTION_ASK) - { - drag_context->action = GDK_ACTION_COPY; - } - document_open_file_list((const gchar *)gtk_selection_data_get_data(data), length); success = TRUE;