forked from AuroraMiddleware/gtk
label: Clear layout after setting GtkLabel::lines property
Otherwise the label will not pick up the property.
This commit is contained in:
parent
a14c7cbfa1
commit
e9ce9a814b
@ -6846,6 +6846,7 @@ gtk_label_set_lines (GtkLabel *label,
|
||||
if (priv->lines != lines)
|
||||
{
|
||||
priv->lines = lines;
|
||||
gtk_label_clear_layout (label);
|
||||
g_object_notify (G_OBJECT (label), "lines");
|
||||
gtk_widget_queue_resize (GTK_WIDGET (label));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user