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



commit 6a195707797aaca00bfbce76c543cdf73543ab26
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]