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/testkineticscrolling.c | |
parent | 0638bbb5d58d783519fd07dc548996d405398f4f (diff) | |
download | gtk+-9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff.tar.gz |
contentformats: Rename GtkTargetList
It's now called GdkContentsFormat
Diffstat (limited to 'tests/testkineticscrolling.c')
-rw-r--r-- | tests/testkineticscrolling.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |