[gnome-builder/wip/chergert/flatpak-repo: 28/29] foundry: fix items-changed for removal of transient stage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/flatpak-repo: 28/29] foundry: fix items-changed for removal of transient stage
- Date: Wed, 25 Aug 2021 22:17:38 +0000 (UTC)
commit 75d5b47529a0d2834665a39724467d6f685e6333
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 25 14:27:32 2021 -0700
foundry: fix items-changed for removal of transient stage
src/libide/foundry/ide-pipeline.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-pipeline.c b/src/libide/foundry/ide-pipeline.c
index 31e0f6672..01afdc53f 100644
--- a/src/libide/foundry/ide-pipeline.c
+++ b/src/libide/foundry/ide-pipeline.c
@@ -802,6 +802,7 @@ ide_pipeline_release_transients (IdePipeline *self)
G_OBJECT_TYPE_NAME (entry->stage),
i - 1);
g_array_remove_index (self->pipeline, i);
+ g_list_model_items_changed (G_LIST_MODEL (self), i - 1, 1, 0);
}
}
@@ -2068,7 +2069,7 @@ ide_pipeline_task_notify_completed (IdePipeline *self,
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_MESSAGE]);
/*
- * XXX: How do we ensure transients are buildd with the part of the
+ * XXX: How do we ensure transients are built with the part of the
* pipeline we care about? We might just need to ensure that :busy is
* FALSE before adding transients.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]