[gnome-builder/wip/chergert/flatpak-repo: 18/29] foundry: add missing transient accessors




commit 421c72486463c501211074d7cd63f8afed4ffdfa
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 24 21:41:56 2021 -0700

    foundry: add missing transient accessors

 src/libide/foundry/ide-pipeline-stage.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-pipeline-stage.c b/src/libide/foundry/ide-pipeline-stage.c
index 811499f56..7f7c194fb 100644
--- a/src/libide/foundry/ide-pipeline-stage.c
+++ b/src/libide/foundry/ide-pipeline-stage.c
@@ -39,7 +39,7 @@ typedef struct
   gchar               *stdout_path;
   GOutputStream       *stdout_stream;
   gint                 n_pause;
-  IdePipelinePhase        phase;
+  IdePipelinePhase     phase;
   guint                completed : 1;
   guint                disabled : 1;
   guint                transient : 1;
@@ -299,6 +299,10 @@ ide_pipeline_stage_get_property (GObject    *object,
       g_value_set_string (value, ide_pipeline_stage_get_stdout_path (self));
       break;
 
+    case PROP_TRANSIENT:
+      g_value_set_boolean (value, ide_pipeline_stage_get_transient (self));
+      break;
+
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
     }
@@ -338,6 +342,10 @@ ide_pipeline_stage_set_property (GObject      *object,
       ide_pipeline_stage_set_stdout_path (self, g_value_get_string (value));
       break;
 
+    case PROP_TRANSIENT:
+      ide_pipeline_stage_set_transient (self, g_value_get_boolean (value));
+      break;
+
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
     }


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