Skip to content

Commit 9ef4393

Browse files
committed
Do not use deprecated DragAction.PRIVATE
1 parent 41febf9 commit 9ef4393

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

libcore/DndHandler.vala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ namespace Files {
388388
var actions = possible_actions;
389389
var suggested_action = selected_action;
390390
var target_location = dest.get_target_location ();
391-
suggested_action_return = Gdk.DragAction.PRIVATE;
391+
suggested_action_return = Gdk.DragAction.DEFAULT;
392392

393393
if (drop_file_list == null || drop_file_list.data == null) {
394394
return Gdk.DragAction.DEFAULT;
@@ -406,8 +406,7 @@ namespace Files {
406406
} else if (dest.is_executable ()) {
407407
actions |= (Gdk.DragAction.COPY |
408408
Gdk.DragAction.MOVE |
409-
Gdk.DragAction.LINK |
410-
Gdk.DragAction.PRIVATE);
409+
Gdk.DragAction.LINK
411410
} else {
412411
actions = Gdk.DragAction.DEFAULT;
413412
}

0 commit comments

Comments
 (0)