forked from AuroraMiddleware/gtk
label: Also initialize text
So gtk_label_get_text returns the default value of "". Broke the GtkModelButton default value test.
This commit is contained in:
parent
c1d1d46d34
commit
df38db70a0
@ -1383,7 +1383,7 @@ gtk_label_init (GtkLabel *label)
|
||||
|
||||
priv->mnemonic_keyval = GDK_KEY_VoidSymbol;
|
||||
priv->layout = NULL;
|
||||
priv->text = NULL;
|
||||
priv->text = g_strdup ("");
|
||||
priv->attrs = NULL;
|
||||
|
||||
priv->mnemonic_widget = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user