diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-18 02:19:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-20 23:12:33 +0100 |
commit | 9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff (patch) | |
tree | a5a8ca3908f228fdfc64acc8a6a7ca3c5508094c /tests/testtoolbar.c | |
parent | 0638bbb5d58d783519fd07dc548996d405398f4f (diff) | |
download | gtk+-9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff.tar.gz |
contentformats: Rename GtkTargetList
It's now called GdkContentsFormat
Diffstat (limited to 'tests/testtoolbar.c')
-rw-r--r-- | tests/testtoolbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c index 6de5a20783..9eb3b6193e 100644 --- a/tests/testtoolbar.c +++ b/tests/testtoolbar.c @@ -441,7 +441,7 @@ main (gint argc, gchar **argv) GtkWidget *window, *toolbar, *grid, *treeview, *scrolled_window; GtkWidget *hbox, *hbox1, *hbox2, *checkbox, *option_menu, *menu; gint i; - GtkTargetList *targets; + GdkContentFormats *targets; static const gchar *toolbar_styles[] = { "icons", "text", "both (vertical)", "both (horizontal)" }; GtkToolItem *item; @@ -662,14 +662,14 @@ main (gint argc, gchar **argv) gtk_box_pack_end (GTK_BOX (hbox), checkbox); - targets = gtk_target_list_new (target_table, G_N_ELEMENTS (target_table)); + targets = gdk_content_formats_new (target_table, G_N_ELEMENTS (target_table)); gtk_drag_source_set (button, GDK_BUTTON1_MASK, targets, GDK_ACTION_MOVE); gtk_drag_dest_set (toolbar, GTK_DEST_DEFAULT_DROP, targets, GDK_ACTION_MOVE); - gtk_target_list_unref (targets); + gdk_content_formats_unref (targets); g_signal_connect (toolbar, "drag_motion", G_CALLBACK (toolbar_drag_motion), NULL); g_signal_connect (toolbar, "drag_leave", |