summaryrefslogtreecommitdiff
path: root/tests/testtreeview.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-18 02:19:53 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-20 23:12:33 +0100
commit9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff (patch)
treea5a8ca3908f228fdfc64acc8a6a7ca3c5508094c /tests/testtreeview.c
parent0638bbb5d58d783519fd07dc548996d405398f4f (diff)
downloadgtk+-9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff.tar.gz
contentformats: Rename GtkTargetList
It's now called GdkContentsFormat
Diffstat (limited to 'tests/testtreeview.c')
-rw-r--r--tests/testtreeview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtreeview.c b/tests/testtreeview.c
index 7215dfa514..37735cda33 100644
--- a/tests/testtreeview.c
+++ b/tests/testtreeview.c
@@ -655,7 +655,7 @@ main (int argc,
GtkWidget *box;
GtkWidget *combo_box;
GtkTreeModel *model;
- GtkTargetList *targets;
+ GdkContentFormats *targets;
gint i;
gtk_init ();
@@ -697,7 +697,7 @@ main (int argc,
tv = gtk_tree_view_new_with_model (models[0]);
g_signal_connect (tv, "row-activated", G_CALLBACK (on_row_activated), NULL);
- targets = gtk_target_list_new (row_targets, G_N_ELEMENTS (row_targets));
+ targets = gdk_content_formats_new (row_targets, G_N_ELEMENTS (row_targets));
gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (tv),
GDK_BUTTON1_MASK,
targets,
@@ -706,7 +706,7 @@ main (int argc,
gtk_tree_view_enable_model_drag_dest (GTK_TREE_VIEW (tv),
targets,
GDK_ACTION_MOVE | GDK_ACTION_COPY);
- gtk_target_list_unref (targets);
+ gdk_content_formats_unref (targets);
/* Model menu */
combo_box = gtk_combo_box_text_new ();