summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
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 c91218458e..a706ea47d8 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -1021,7 +1021,7 @@ gtk_label_init (GtkLabel *label)
{
GtkLabelPrivate *priv;
- GTK_WIDGET_SET_FLAGS (label, GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET (label), FALSE);
priv = GTK_LABEL_GET_PRIVATE (label);
priv->width_chars = -1;