Commit 09239601 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Revert the last change, since gtk_widget_set_style_internal() already

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

	* gtk/gtklabel.c (gtk_label_style_set): Revert the last
	change, since gtk_widget_set_style_internal() already
	queues a resize.
parent 14fefb86
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Revert the last
change, since gtk_widget_set_style_internal() already
queues a resize.
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
......
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Revert the last
change, since gtk_widget_set_style_internal() already
queues a resize.
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
......
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Revert the last
change, since gtk_widget_set_style_internal() already
queues a resize.
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
......
......@@ -2008,6 +2008,7 @@ gtk_label_size_request (GtkWidget *widget,
requisition->width = width + rect.width;
requisition->height = height + rect.height;
return;
}
else
......@@ -2081,8 +2082,10 @@ gtk_label_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
GtkLabel *label;
GtkLabelPrivate *priv;
label = GTK_LABEL (widget);
priv = GTK_LABEL_GET_PRIVATE (widget);
(* GTK_WIDGET_CLASS (parent_class)->size_allocate) (widget, allocation);
......@@ -2129,7 +2132,6 @@ 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment