summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtklayout.c')
-rw-r--r--gtk/gtklayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index b4c58fdeae..56c4118221 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -918,7 +918,7 @@ gtk_layout_map (GtkWidget *widget)
if (gtk_widget_get_visible (child->widget))
{
- if (!GTK_WIDGET_MAPPED (child->widget))
+ if (!gtk_widget_get_mapped (child->widget))
gtk_widget_map (child->widget);
}
}