From 9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 18 Nov 2017 02:19:53 +0100 Subject: contentformats: Rename GtkTargetList It's now called GdkContentsFormat --- tests/testkineticscrolling.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/testkineticscrolling.c') diff --git a/tests/testkineticscrolling.c b/tests/testkineticscrolling.c index e946e8d136..d6e9ddecaa 100644 --- a/tests/testkineticscrolling.c +++ b/tests/testkineticscrolling.c @@ -21,7 +21,7 @@ kinetic_scrolling (void) GtkCellRenderer *renderer; GtkListStore *store; GtkWidget *textview; - GtkTargetList *targets; + GdkContentFormats *targets; gint i; window = gtk_window_new (GTK_WINDOW_TOPLEVEL); @@ -71,7 +71,7 @@ kinetic_scrolling (void) gtk_widget_show (swindow); treeview = gtk_tree_view_new (); - 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 (treeview), GDK_BUTTON1_MASK, targets, @@ -79,7 +79,7 @@ kinetic_scrolling (void) gtk_tree_view_enable_model_drag_dest (GTK_TREE_VIEW (treeview), targets, GDK_ACTION_MOVE | GDK_ACTION_COPY); - gtk_target_list_unref (targets); + gdk_content_formats_unref (targets); renderer = gtk_cell_renderer_text_new (); g_object_set (renderer, "editable", TRUE, NULL); -- cgit v1.2.1