builder: Add runtime-commit to resolved manifest

Apparently this must have been forgotten when sdk-commit was added.
This commit is contained in:
Alexander Larsson committed 2016-10-17 10:19:36 +02:00
1 parent b9521e719b
commit a9c924928c
1 file changed
+17
+17
View File
@@ -91,6 +91,7 @@ enum {
PROP_BRANCH,
PROP_RUNTIME,
PROP_RUNTIME_VERSION,
PROP_RUNTIME_COMMIT,
PROP_SDK,
PROP_SDK_COMMIT,
PROP_VAR,
@@ -226,6 +227,10 @@ builder_manifest_get_property (GObject *object,
g_value_set_string (value, self->runtime);
break;
case PROP_RUNTIME_COMMIT:
g_value_set_string (value, self->runtime_commit);
break;
case PROP_RUNTIME_VERSION:
g_value_set_string (value, self->runtime_version);
break;
@@ -371,6 +376,11 @@ builder_manifest_set_property (GObject *object,
self->runtime = g_value_dup_string (value);
break;
case PROP_RUNTIME_COMMIT:
g_free (self->runtime_commit);
self->runtime_commit = g_value_dup_string (value);
break;
case PROP_RUNTIME_VERSION:
g_free (self->runtime_version);
self->runtime_version = g_value_dup_string (value);
@@ -552,6 +562,13 @@ builder_manifest_class_init (BuilderManifestClass *klass)
"",
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_RUNTIME_COMMIT,
g_param_spec_string ("runtime-commit",
"",
"",
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_RUNTIME_VERSION,
g_param_spec_string ("runtime-version",