Commit f1ff6e0e authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

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.
parent 2ef6d354
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:
......
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:
......
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:
......
......@@ -1305,7 +1305,8 @@ 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,
GTK_WIDGET_STATE (widget),
......
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