diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-14 22:32:23 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-15 19:07:17 +0100 |
commit | 5a1a11bcde0acacb455fc3df10d6bd8f67f62850 (patch) | |
tree | 859a7f528af6d5407eed89fd127914ac3103f7c9 /gtk/gtkfilechooserwidget.c | |
parent | 7efc5a1558449194caedaae5f27e4c9c48d88ab7 (diff) | |
download | gtk+-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/gtkfilechooserwidget.c')
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 4176457d57..ffcd5943a8 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -8555,13 +8555,13 @@ post_process_ui (GtkFileChooserWidget *impl) impl, NULL); gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (impl->priv->browse_files_tree_view), GDK_BUTTON1_MASK, - NULL, 0, + NULL, GDK_ACTION_COPY | GDK_ACTION_MOVE); gtk_drag_source_add_uri_targets (impl->priv->browse_files_tree_view); gtk_drag_dest_set (impl->priv->browse_files_tree_view, GTK_DEST_DEFAULT_ALL, - NULL, 0, + NULL, GDK_ACTION_COPY | GDK_ACTION_MOVE); gtk_drag_dest_add_uri_targets (impl->priv->browse_files_tree_view); |