gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to

free the text_aa parts. (#57549)
This commit is contained in:
Matthias Clasen 2001-08-09 07:19:45 +00:00
parent 6dd7f04620
commit deefbff9bf
8 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -1,3 +1,8 @@
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtkstyle.c (gtk_style_real_unrealize): Don't forget to
free the text_aa parts. (#57549)
2001-08-09 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gdk/gdkgc.c (gdk_gc_set_rgb_bg_color): Set the background color,

View File

@ -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