forked from AuroraMiddleware/gtk
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:
parent
2ef6d354d1
commit
f1ff6e0e1c
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user