summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-08-23 18:26:59 +0200
committerBenjamin Otte <otte@redhat.com>2013-08-23 18:27:12 +0200
commit4787a1ac61bef1be6999b170962a1d068f1c92f3 (patch)
tree5d54af291b98a628424886cb0136e353ea27f4a3 /gtk/gtklabel.c
parent64a1f30468dad3016899a2dc28206f4d4792d887 (diff)
downloadgtk+-4787a1ac61bef1be6999b170962a1d068f1c92f3.tar.gz
label: Initialize lines value to -1
Fixes defaultvalue test.
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 56610b4bf6..d5deb5759b 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -1256,6 +1256,7 @@ gtk_label_init (GtkLabel *label)
priv->width_chars = -1;
priv->max_width_chars = -1;
priv->label = NULL;
+ priv->lines = -1;
priv->jtype = GTK_JUSTIFY_LEFT;
priv->wrap = FALSE;