[gnome-builder] core: change ordering for insertion
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] core: change ordering for insertion
- Date: Fri, 23 Oct 2020 17:42:50 +0000 (UTC)
commit 0423423b3044e28c8b473d880c3f49811beeec8b
Author: Christian Hergert <chergert redhat com>
Date: Fri Oct 23 10:42:45 2020 -0700
core: change ordering for insertion
This results in a more expected insertion order.
src/libide/core/ide-object.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/core/ide-object.c b/src/libide/core/ide-object.c
index abb10ff63..df93585f6 100644
--- a/src/libide/core/ide-object.c
+++ b/src/libide/core/ide-object.c
@@ -964,7 +964,7 @@ ide_object_insert_sorted (IdeObject *self,
g_assert (priv->children.head != NULL);
g_assert (priv->children.tail != NULL);
- for (GList *iter = priv->children.tail; iter; iter = iter->prev)
+ for (GList *iter = priv->children.head; iter; iter = iter->head)
{
IdeObject *other = iter->data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]