From 078de49ca10285f6cd1452abd40f831a17af5d1a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 26 Sep 2013 18:26:43 -0400 Subject: [PATCH] [util] Don't use g_array_unref() Was introduced in glib 2.22. --- util/view-cairo.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/view-cairo.hh b/util/view-cairo.hh index 8fe74fa..96a44ff 100644 --- a/util/view-cairo.hh +++ b/util/view-cairo.hh @@ -81,7 +81,7 @@ struct view_cairo_t helper_cairo_line_t &line = g_array_index (lines, helper_cairo_line_t, i); line.finish (); } - g_array_unref (lines); + g_array_free (lines, TRUE); } protected: -- 2.7.4