summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-30 15:39:25 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-05 14:56:38 +0200
commite3a717363bd4898aa72db250b6ab5af68fae284b (patch)
tree0bf74baadf2796319d5a3a598fc74d9fe188a791 /tests
parent73650c6da2b6171d10633038f74088980e8a7fc7 (diff)
downloadgtk+-e3a717363bd4898aa72db250b6ab5af68fae284b.tar.gz
snapshot: Remove clip argument from gtk_snapshot_new()
It's not used anymore. And anybody who wants to have a clip on a newly created snapshot can achieve that using gtk_snapshot_push_clip().
Diffstat (limited to 'tests')
-rw-r--r--tests/testlist3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testlist3.c b/tests/testlist3.c
index f11b01146d..cfd1bcb6da 100644
--- a/tests/testlist3.c
+++ b/tests/testlist3.c
@@ -18,7 +18,7 @@ drag_begin (GtkWidget *widget,
row = gtk_widget_get_ancestor (widget, GTK_TYPE_LIST_BOX_ROW);
gtk_widget_get_allocation (row, &alloc);
- snapshot = gtk_snapshot_new (FALSE, NULL, "DragIcon");
+ snapshot = gtk_snapshot_new (FALSE, "DragIcon");
cr = gtk_snapshot_append_cairo (snapshot,
&GRAPHENE_RECT_INIT(0, 0, alloc.width, alloc.height),
"DragText");