[gtk+] Add call to cairo_destroy() to gtk_text_layout_draw()



commit 54ac92aaaf0dde6fc7d46e7e97b75d5b95c17ece
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 1d34873..51e8adc 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -970,5 +970,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]