Fix double free of font desc.

Tue Aug 22 12:33:24 2000  Owen Taylor  <otaylor@redhat.com>

	* gtk/testgtk.c (create_styles): Fix double free of
	font desc.
This commit is contained in:
Owen Taylor
2000-08-22 16:34:43 +00:00
committed by Owen Taylor
parent c6dfddd233
commit 3f14b4598f
9 changed files with 35 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -1,3 +1,8 @@
Tue Aug 22 12:33:24 2000 Owen Taylor <otaylor@redhat.com>
* gtk/testgtk.c (create_styles): Fix double free of
font desc.
Mon Aug 21 22:39:18 2000 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Add gtk_widget_modify_{fg,bg,text,base,font}.

View File

@ -8581,8 +8581,6 @@ create_styles (void)
g_object_unref (G_OBJECT (rc_style));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
pango_font_description_free (font_desc);
}
if (!GTK_WIDGET_VISIBLE (window))

View File

@ -8581,8 +8581,6 @@ create_styles (void)
g_object_unref (G_OBJECT (rc_style));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
pango_font_description_free (font_desc);
}
if (!GTK_WIDGET_VISIBLE (window))