summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-08-23 18:24:20 +0200
committerBenjamin Otte <otte@redhat.com>2013-08-23 18:24:20 +0200
commit64a1f30468dad3016899a2dc28206f4d4792d887 (patch)
treeedf34ec2f783acd8e9d8797f49df5625fba9bb67 /gtk/gtklabel.c
parent772aed19f72a9bef8a313b8c01ee80d095268656 (diff)
downloadgtk+-64a1f30468dad3016899a2dc28206f4d4792d887.tar.gz
label: Fix gcc warning
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 0a1b32c8de..56610b4bf6 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -6608,7 +6608,7 @@ gtk_label_set_lines (GtkLabel *label,
gint
gtk_label_get_lines (GtkLabel *label)
{
- g_return_if_fail (GTK_IS_LABEL (label));
+ g_return_val_if_fail (GTK_IS_LABEL (label), -1);
return label->priv->lines;
}