diff --git a/ChangeLog b/ChangeLog index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index e8753be02a..2f30f7a5fe 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2001-08-09 Matthias Clasen + + * gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to + free the text_aa parts. (#57549) + 2001-08-09 Matthias Clasen * gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color, diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index c5d35a1787..5e4ed033e0 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