[gtk+/rendering-cleanup: 68/95] Add call to cairo_destroy() to gtk_text_layout_draw()



commit da323049cc157a07a8115826c835602e0b367dd6
Author: Kristian Rietveld <kris gtk org>
Date:   Thu Jul 29 14:15:41 2010 +0200

    Add call to cairo_destroy() to gtk_text_layout_draw()

 gtk/gtktextdisplay.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index 20a7f5c..3b217a8 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -969,5 +969,7 @@ gtk_text_layout_draw (GtkTextLayout *layout,
       g_list_free (tmp_widgets);
     }
 
+  cairo_destroy (cr);
+
   g_slist_free (line_list);
 }



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