[gnome-builder] foundry: only root build targets not yet rooted
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] foundry: only root build targets not yet rooted
- Date: Mon, 21 Jan 2019 18:27:24 +0000 (UTC)
commit 2dac2ec9d17ca3d6f7f8228ec2d4eee770df2004
Author: Christian Hergert <chergert redhat com>
Date: Mon Jan 21 10:26:43 2019 -0800
foundry: only root build targets not yet rooted
src/libide/foundry/ide-run-manager.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-run-manager.c b/src/libide/foundry/ide-run-manager.c
index 082e73fa3..a4a5570cc 100644
--- a/src/libide/foundry/ide-run-manager.c
+++ b/src/libide/foundry/ide-run-manager.c
@@ -950,7 +950,8 @@ ide_run_manager_provider_get_targets_cb (GObject *object,
{
IdeBuildTarget *target = g_ptr_array_index (ret, i);
- ide_object_append (IDE_OBJECT (self), IDE_OBJECT (target));
+ if (ide_object_is_root (IDE_OBJECT (target)))
+ ide_object_append (IDE_OBJECT (self), IDE_OBJECT (target));
g_ptr_array_add (state->results, g_object_ref (target));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]