summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-14 22:32:23 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-15 19:07:17 +0100
commit5a1a11bcde0acacb455fc3df10d6bd8f67f62850 (patch)
tree859a7f528af6d5407eed89fd127914ac3103f7c9 /gtk/gtkplacessidebar.c
parent7efc5a1558449194caedaae5f27e4c9c48d88ab7 (diff)
downloadgtk+-5a1a11bcde0acacb455fc3df10d6bd8f67f62850.tar.gz
dnd: Make GtkDragDest and GtkDragSource use GtkTargetList
This gets rid of GtkTargetEntry in the API and consistently uses GtkTargetList.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index acd866f158..e758d2a1ec 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4072,7 +4072,7 @@ gtk_places_sidebar_init (GtkPlacesSidebar *sidebar)
/* DND support */
gtk_drag_dest_set (sidebar->list_box,
0,
- NULL, 0,
+ NULL,
GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK);
target_list = gtk_target_list_new (dnd_drop_targets, G_N_ELEMENTS (dnd_drop_targets));
gtk_target_list_add_uri_targets (target_list, DND_TEXT_URI_LIST);