[gtk+] Fix the build



commit a8a156e63c9e4116d109c2681a4250a379db31bf
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 29 20:12:43 2017 -0500

    Fix the build

 tests/testdnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testdnd.c b/tests/testdnd.c
index c95817a..04ec5bf 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]