Skip to content

Commit

Permalink
No need to update GdkDragContext:action
Browse files Browse the repository at this point in the history
Updating GdkDragContext:action is not needed and this field is private
anyway.
  • Loading branch information
b4n committed Sep 15, 2012
1 parent b58995c commit df3d35d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/notebook.c
Expand Up @@ -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;
Expand Down

0 comments on commit df3d35d

Please sign in to comment.