[gtk+/gtk-2-24] GtkColorButton: Don't forget to close a cairo context
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] GtkColorButton: Don't forget to close a cairo context
- Date: Sat, 27 Aug 2011 05:55:44 +0000 (UTC)
commit 89d217c90a050340c65777a34b7db8c2f27d4491
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 27 01:52:24 2011 -0400
GtkColorButton: Don't forget to close a cairo context
Patch by Jerome Lambourg, bug 655392.
gtk/gtkcolorbutton.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index c640b96..2265081 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -317,6 +317,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]