[gtk+/wip/csd-for-review] Fix forall to actually be in visual order
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csd-for-review] Fix forall to actually be in visual order
- Date: Mon, 11 Mar 2013 02:04:32 +0000 (UTC)
commit 2ee63a5c010aaa9eb05116d2e960dbcb3112f0e5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 10 19:04:29 2013 -0400
Fix forall to actually be in visual order
Pack end children were coming out in reverse order.
gtk/gtkheaderbar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 03a7b72..8a13a4d 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -878,11 +878,11 @@ gtk_header_bar_forall (GtkContainer *container,
(* callback) (priv->label, callback_data);
}
- children = g_list_last (priv->children);
+ children = priv->children;
while (children)
{
child = children->data;
- children = children->prev;
+ children = children->next;
if (child->pack_type == GTK_PACK_END)
(* callback) (child->widget, callback_data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]