summaryrefslogtreecommitdiff
path: root/gtk/gtkdragdest.h
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/gtkdragdest.h
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/gtkdragdest.h')
-rw-r--r--gtk/gtkdragdest.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkdragdest.h b/gtk/gtkdragdest.h
index dfcbe529aa..609a32ebe3 100644
--- a/gtk/gtkdragdest.h
+++ b/gtk/gtkdragdest.h
@@ -69,8 +69,7 @@ typedef enum {
GDK_AVAILABLE_IN_ALL
void gtk_drag_dest_set (GtkWidget *widget,
GtkDestDefaults flags,
- const GtkTargetEntry *targets,
- gint n_targets,
+ GtkTargetList *targets,
GdkDragAction actions);
GDK_AVAILABLE_IN_ALL