summaryrefslogtreecommitdiff
path: root/gtk/gtkactionbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-18 21:11:32 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-18 22:50:37 -0500
commit3f0e28133d561d6732233af404312cb757ca2b7d (patch)
tree6bc666b93dde4a6834a7bd9f84b390f97c83f887 /gtk/gtkactionbar.c
parent53f6b8582a213232e9b0fecbd3c59451a92577ca (diff)
downloadgtk+-3f0e28133d561d6732233af404312cb757ca2b7d.tar.gz
Fix up gtk_action_bar_forall
We need to always iterate over non-internal children.
Diffstat (limited to 'gtk/gtkactionbar.c')
-rw-r--r--gtk/gtkactionbar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index 9be1fe0777..14faa134c4 100644
--- a/gtk/gtkactionbar.c
+++ b/gtk/gtkactionbar.c
@@ -132,7 +132,8 @@ gtk_action_bar_forall (GtkContainer *container,
if (include_internals)
(* callback) (priv->revealer, callback_data);
- else if (priv->center_box)
+
+ if (priv->center_box)
gtk_container_forall (GTK_CONTAINER (priv->center_box), callback, callback_data);
}