forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
2e3ff48627
commit
58b9aed17a
@ -1,3 +1,8 @@
|
|||||||
|
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
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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,
|
|||||||
|
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user