diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2001-08-09 07:19:45 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2001-08-09 07:19:45 +0000 |
commit | deefbff9bfbe21cbe40c9ae8c6f4f2729b459520 (patch) | |
tree | 06aed8f1f9284e76341fd9d33475c330102bd98f /gtk | |
parent | 6dd7f04620b15ca0b1b85d0bd056e455525c2680 (diff) | |
download | gdk-pixbuf-deefbff9bfbe21cbe40c9ae8c6f4f2729b459520.tar.gz |
gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkstyle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index c5d35a178..5e4ed033e 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -1507,6 +1507,7 @@ gtk_style_real_unrealize (GtkStyle *style) gtk_gc_release (style->mid_gc[i]); gtk_gc_release (style->text_gc[i]); gtk_gc_release (style->base_gc[i]); + gtk_gc_release (style->text_aa_gc[i]); if (style->bg_pixmap[i] && style->bg_pixmap[i] != (GdkPixmap*) GDK_PARENT_RELATIVE) gdk_pixmap_unref (style->bg_pixmap[i]); @@ -1519,6 +1520,7 @@ gtk_style_real_unrealize (GtkStyle *style) gdk_colormap_free_colors (style->colormap, style->mid, 5); gdk_colormap_free_colors (style->colormap, style->text, 5); gdk_colormap_free_colors (style->colormap, style->base, 5); + gdk_colormap_free_colors (style->colormap, style->text_aa, 5); } static void |