summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@src.gnome.org>2000-05-17 16:11:29 +0000
committerJonathan Blandford <jrb@src.gnome.org>2000-05-17 16:11:29 +0000
commitfccaf53bfb92e93d9192253bdf1c20daae061d23 (patch)
treed7efa36460cce452fff99724b9922546ce442fe8 /gtk/gtklayout.c
parentf43ab0c41d851b4f7eb1ea7e36ef284a6675684a (diff)
downloadgtk+-fccaf53bfb92e93d9192253bdf1c20daae061d23.tar.gz
Remember to save the file before committing.
Diffstat (limited to 'gtk/gtklayout.c')
-rw-r--r--gtk/gtklayout.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index f551a80bfb..8e70d5ef72 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -477,8 +477,7 @@ gtk_layout_map (GtkWidget *widget)
if (GTK_WIDGET_VISIBLE (child->widget))
{
- if (!GTK_WIDGET_MAPPED (child->widget) &&
- !GTK_WIDGET_IS_OFFSCREEN (child->widget))
+ if (!GTK_WIDGET_MAPPED (child->widget))
gtk_widget_map (child->widget);
}
}
@@ -664,8 +663,6 @@ gtk_layout_remove (GtkContainer *container,
if (tmp_list)
{
- GTK_PRIVATE_UNSET_FLAG (widget, GTK_IS_OFFSCREEN);
-
gtk_widget_unparent (widget);
layout->children = g_list_remove_link (layout->children, tmp_list);