summaryrefslogtreecommitdiff
path: root/gtk/gtkiconthemeprivate.h
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2016-05-21 00:07:10 +0200
committerMatthias Clasen <mclasen@redhat.com>2016-05-23 07:58:42 -0400
commit458c0b95257ec00791cdda4a2d04f64bafbb6e63 (patch)
treee3619ae92fc5e51970a5a7007d8ca03b35b49b80 /gtk/gtkiconthemeprivate.h
parenta2d723c13391e560cce7e5aed62554114f346c83 (diff)
downloadgtk+-458c0b95257ec00791cdda4a2d04f64bafbb6e63.tar.gz
stack: Only map children when necessary
gtk_widget_set_parent() will map the widget if the parent is mapped and the widget is both visible and child-visible. As we currently only set the child visibility after adding the child, we immediately map all children that are added to a mapped stack, even when they are not actually shown. Avoid this by setting the child visibility before adding the child, so widgets are only mapped when shown. https://bugzilla.gnome.org/show_bug.cgi?id=766737
Diffstat (limited to 'gtk/gtkiconthemeprivate.h')
0 files changed, 0 insertions, 0 deletions