mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 03:40:10 +00:00
Remember to save the file before committing.
This commit is contained in:
parent
f43ab0c41d
commit
fccaf53bfb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user