summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-14 05:34:15 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-15 19:07:16 +0100
commit7efc5a1558449194caedaae5f27e4c9c48d88ab7 (patch)
tree09b7c0e0de23b1d24dc14b083bdccc84616d8986 /gtk/gtkselection.h
parentfb94f79094745a0e3fc64d5d56cea1637a8fdb73 (diff)
downloadgtk+-7efc5a1558449194caedaae5f27e4c9c48d88ab7.tar.gz
clipboard: Consistently use GtkTargetList
Some code was using GtkTargetList, some used GtkTargetEntry and some GtkTargetPair.
Diffstat (limited to 'gtk/gtkselection.h')
-rw-r--r--gtk/gtkselection.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h
index 200272c0b1..04f706764e 100644
--- a/gtk/gtkselection.h
+++ b/gtk/gtkselection.h
@@ -119,6 +119,9 @@ GDK_AVAILABLE_IN_ALL
GtkTargetList *gtk_target_list_ref (GtkTargetList *list);
GDK_AVAILABLE_IN_ALL
void gtk_target_list_unref (GtkTargetList *list);
+GDK_AVAILABLE_IN_3_94
+void gtk_target_list_merge (GtkTargetList *target,
+ const GtkTargetList *source);
GDK_AVAILABLE_IN_ALL
void gtk_target_list_add (GtkTargetList *list,
GdkAtom target,
@@ -176,8 +179,7 @@ void gtk_selection_add_target (GtkWidget *widget,
GDK_AVAILABLE_IN_ALL
void gtk_selection_add_targets (GtkWidget *widget,
GdkAtom selection,
- const GtkTargetEntry *targets,
- guint ntargets);
+ GtkTargetList *targets);
GDK_AVAILABLE_IN_ALL
void gtk_selection_clear_targets (GtkWidget *widget,
GdkAtom selection);