summaryrefslogtreecommitdiff
path: root/tests/testdnd.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-29 20:12:43 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-11-29 20:12:43 -0500
commita8a156e63c9e4116d109c2681a4250a379db31bf (patch)
tree7b2e932d736e142ca80a86a30cb167d314afe47d /tests/testdnd.c
parentc2a38612a91e41265b69596cdd668621e5d59851 (diff)
downloadgtk+-a8a156e63c9e4116d109c2681a4250a379db31bf.tar.gz
Fix the build
Diffstat (limited to 'tests/testdnd.c')
-rw-r--r--tests/testdnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdnd.c b/tests/testdnd.c
index c95817a21a..04ec5bf467 100644
--- a/tests/testdnd.c
+++ b/tests/testdnd.c
@@ -662,7 +662,7 @@ main (int argc, char **argv)
gtk_drag_source_set_icon_surface (button, surface);
gdk_content_formats_unref (targets);
- cairo_destroy (surface);
+ cairo_surface_destroy (surface);
gtk_widget_set_hexpand (button, TRUE);
gtk_widget_set_vexpand (button, TRUE);