[gtk+] Add missing cairo_destroy() call
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add missing cairo_destroy() call
- Date: Tue, 10 Aug 2010 19:12:37 +0000 (UTC)
commit 11ee2abaccb8102abd2bdf92d1844eba6d71ab1a
Author: Kristian Rietveld <kris gtk org>
Date: Sun Aug 8 18:02:35 2010 +0200
Add missing cairo_destroy() call
gtk/gtkcolorbutton.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index 24bb047..d977081 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -315,6 +315,8 @@ expose_event (GtkWidget *widget,
cairo_pattern_destroy (checkered);
}
+ cairo_destroy (cr);
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]