Commit 58b9aed1 authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

Don't leak the cairo context. Closes bug #307426.

2005-06-13  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
	leak the cairo context. Closes bug #307426.
parent 2e3ff486
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
leak the cairo context. Closes bug #307426.
2005-06-13 Matthias Clasen <mclasen@redhat.com> 2005-06-13 Matthias Clasen <mclasen@redhat.com>
Make invisible text work a bit better (#66194, patch by Make invisible text work a bit better (#66194, patch by
......
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
leak the cairo context. Closes bug #307426.
2005-06-13 Matthias Clasen <mclasen@redhat.com> 2005-06-13 Matthias Clasen <mclasen@redhat.com>
Make invisible text work a bit better (#66194, patch by Make invisible text work a bit better (#66194, patch by
......
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
leak the cairo context. Closes bug #307426.
2005-06-13 Matthias Clasen <mclasen@redhat.com> 2005-06-13 Matthias Clasen <mclasen@redhat.com>
Make invisible text work a bit better (#66194, patch by Make invisible text work a bit better (#66194, patch by
......
...@@ -2220,6 +2220,7 @@ calendar_paint_arrow (GtkCalendar *calendar, ...@@ -2220,6 +2220,7 @@ calendar_paint_arrow (GtkCalendar *calendar,
gdk_cairo_set_source_color (cr, &widget->style->bg[state]); gdk_cairo_set_source_color (cr, &widget->style->bg[state]);
cairo_paint (cr); cairo_paint (cr);
cairo_destroy (cr);
gdk_drawable_get_size (window, &width, &height); gdk_drawable_get_size (window, &width, &height);
if (arrow == ARROW_MONTH_LEFT || arrow == ARROW_YEAR_LEFT) if (arrow == ARROW_MONTH_LEFT || arrow == ARROW_YEAR_LEFT)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment