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

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

	* gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
	Closes bug #308581.
This commit is contained in:
Kjartan Maraas 2005-06-21 22:46:30 +00:00 committed by Kjartan Maraas
parent 2ef6d354d1
commit f1ff6e0e1c
4 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-22 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
Closes bug #308581.
2005-06-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkarrow.c:

View File

@ -1,3 +1,8 @@
2005-06-22 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
Closes bug #308581.
2005-06-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkarrow.c:

View File

@ -1,3 +1,8 @@
2005-06-22 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
Closes bug #308581.
2005-06-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkarrow.c:

View File

@ -1305,6 +1305,7 @@ gtk_hsv_expose (GtkWidget *widget,
dest.x - widget->allocation.x,
dest.y - widget->allocation.y,
dest.width, dest.height);
cairo_destroy (cr);
if (GTK_WIDGET_HAS_FOCUS (hsv) && priv->focus_on_ring)
gtk_paint_focus (widget->style, widget->window,