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:
Timm Bäder 2016-05-05 11:21:56 +02:00
parent c1d1d46d34
commit df38db70a0

View File

@ -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;