summaryrefslogtreecommitdiff
path: root/gtk/gtkalignment.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkalignment.c')
-rw-r--r--gtk/gtkalignment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index 4573c14006..3accb4ddb7 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -200,7 +200,7 @@ gtk_alignment_init (GtkAlignment *alignment)
{
GtkAlignmentPrivate *priv;
- GTK_WIDGET_SET_FLAGS (alignment, GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET (alignment), FALSE);
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (alignment), FALSE);
alignment->xalign = 0.5;