Permalink
Browse files

No need to update GdkDragContext:action

Updating GdkDragContext:action is not needed and this field is private
anyway.
  • Loading branch information...
1 parent b58995c commit df3d35dab11a1f3afe99c656d8c7ef06d8ab4a23 @b4n b4n committed Sep 15, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/notebook.c
View
@@ -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;

0 comments on commit df3d35d

Please sign in to comment.