[gtk+] Fix up gtk_action_bar_forall



commit 3f0e28133d561d6732233af404312cb757ca2b7d
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Feb 18 21:11:32 2014 -0500

    Fix up gtk_action_bar_forall
    
    We need to always iterate over non-internal children.

 gtk/gtkactionbar.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index 9be1fe0..14faa13 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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]