Queue a resize, since fonts may have changed. (#164128, Phil Blundell)

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
	fonts may have changed.  (#164128, Phil Blundell)
This commit is contained in:
Matthias Clasen 2005-02-24 04:49:37 +00:00 committed by Matthias Clasen
parent 534d584ba6
commit 14fefb8617
4 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
fonts may have changed. (#164128, Phil Blundell)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
(gtk_about_dialog_new): Move initialization code from _new to
_init. (#168249, Murray Cumming)

View File

@ -1,5 +1,8 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
fonts may have changed. (#164128, Phil Blundell)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
(gtk_about_dialog_new): Move initialization code from _new to
_init. (#168249, Murray Cumming)

View File

@ -1,5 +1,8 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
fonts may have changed. (#164128, Phil Blundell)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
(gtk_about_dialog_new): Move initialization code from _new to
_init. (#168249, Murray Cumming)

View File

@ -2129,6 +2129,7 @@ gtk_label_style_set (GtkWidget *widget,
/* We have to clear the layout, fonts etc. may have changed */
gtk_label_clear_layout (label);
gtk_widget_queue_resize (GTK_WIDGET (label));
}
static void