Skip to content

Commit 81c9db2

Browse files
author
Libmodulemd CI
committed
Code auto-formatting
Signed-off-by: Libmodulemd CI <[email protected]>
1 parent e60ecf3 commit 81c9db2

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

modulemd/modulemd-build-config.c

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ struct _ModulemdBuildConfig
2626

2727
gchar *context;
2828
gchar *platform;
29-
GHashTable *requires; /* hashtable<string, string> */
29+
GHashTable *
30+
requires; /* hashtable<string, string> */
3031
GHashTable *buildrequires; /* hashtable<string, string> */
3132
ModulemdBuildopts *buildopts;
3233
};
@@ -64,8 +65,9 @@ modulemd_build_config_class_init (ModulemdBuildConfigClass *klass)
6465
static void
6566
modulemd_build_config_init (ModulemdBuildConfig *self)
6667
{
67-
self->requires =
68-
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
68+
self->
69+
requires
70+
= g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
6971
self->buildrequires =
7072
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
7173
}
@@ -559,7 +561,9 @@ modulemd_build_config_replace_runtime_deps (ModulemdBuildConfig *self,
559561
if (deps)
560562
{
561563
g_clear_pointer (&self->requires, g_hash_table_unref);
562-
self->requires = modulemd_hash_table_deep_str_copy (deps);
564+
self->
565+
requires
566+
= modulemd_hash_table_deep_str_copy (deps);
563567
}
564568
else
565569
{

modulemd/tests/test-modulemd-build-config.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ static void
2626
buildconfig_test_construct (void)
2727
{
2828
g_autoptr (ModulemdBuildConfig) bc = NULL;
29-
g_auto (GStrv) requires = NULL;
29+
g_auto (GStrv)
30+
requires
31+
= NULL;
3032

3133

3234
/* == Test that the new() function works == */

0 commit comments

Comments
 (0)