No need to update GdkDragContext:action
Updating GdkDragContext:action is not needed and this field is private anyway.
This commit is contained in:
parent
b58995c9fc
commit
df3d35dab1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user