diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2005-06-21 22:46:30 +0000 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2005-06-21 22:46:30 +0000 |
commit | f1ff6e0e1c287e2408f9897396680815a7f3155d (patch) | |
tree | ce54d702e2be34d22e575625750693342b44ce19 | |
parent | 2ef6d354d1ad64a484c8980e8d2a908adb274d96 (diff) | |
download | gdk-pixbuf-f1ff6e0e1c287e2408f9897396680815a7f3155d.tar.gz |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtkhsv.c | 3 |
4 files changed, 17 insertions, 1 deletions
@@ -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: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f379b8ba1..23aed6d9a 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f379b8ba1..23aed6d9a 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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: diff --git a/gtk/gtkhsv.c b/gtk/gtkhsv.c index b73f59d7a..58ea87922 100644 --- a/gtk/gtkhsv.c +++ b/gtk/gtkhsv.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), |