[gnome-builder] plugins/buildconfig: cleanup formatting



commit 04f28c874c996f37ad09093499e0cb35ee1cdcbf
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 5 12:32:23 2022 -0700

    plugins/buildconfig: cleanup formatting

 .../buildconfig/ide-buildconfig-config-provider.c  | 54 +++++++++++-----------
 src/plugins/buildconfig/ide-buildconfig-config.c   | 18 ++++----
 src/plugins/buildconfig/ide-buildconfig-config.h   | 12 ++---
 3 files changed, 42 insertions(+), 42 deletions(-)
---
diff --git a/src/plugins/buildconfig/ide-buildconfig-config-provider.c 
b/src/plugins/buildconfig/ide-buildconfig-config-provider.c
index 56ad1241d..babe4f650 100644
--- a/src/plugins/buildconfig/ide-buildconfig-config-provider.c
+++ b/src/plugins/buildconfig/ide-buildconfig-config-provider.c
@@ -92,7 +92,7 @@ add_suffix:
 
 static gchar *
 get_next_id (IdeConfigManager *manager,
-             const gchar             *id)
+             const gchar      *id)
 {
   g_autoptr(GPtrArray) tries = NULL;
 
@@ -111,11 +111,11 @@ get_next_id (IdeConfigManager *manager,
 }
 
 static void
-load_string (IdeConfig *config,
-             GKeyFile         *key_file,
-             const gchar      *group,
-             const gchar      *key,
-             const gchar      *property)
+load_string (IdeConfig   *config,
+             GKeyFile    *key_file,
+             const gchar *group,
+             const gchar *key,
+             const gchar *property)
 {
   g_assert (IDE_IS_CONFIG (config));
   g_assert (key_file != NULL);
@@ -133,11 +133,11 @@ load_string (IdeConfig *config,
 }
 
 static void
-load_strv (IdeConfig *config,
-           GKeyFile         *key_file,
-           const gchar      *group,
-           const gchar      *key,
-           const gchar      *property)
+load_strv (IdeConfig   *config,
+           GKeyFile    *key_file,
+           const gchar *group,
+           const gchar *key,
+           const gchar *property)
 {
   g_assert (IDE_IS_CONFIG (config));
   g_assert (key_file != NULL);
@@ -157,10 +157,10 @@ load_strv (IdeConfig *config,
 }
 
 static void
-load_environ (IdeConfig *config,
-              IdeEnvironment   *environment,
-              GKeyFile         *key_file,
-              const gchar      *group)
+load_environ (IdeConfig      *config,
+              IdeEnvironment *environment,
+              GKeyFile       *key_file,
+              const gchar    *group)
 {
   g_auto(GStrv) keys = NULL;
   gsize len = 0;
@@ -184,7 +184,7 @@ load_environ (IdeConfig *config,
 
 static IdeConfig *
 ide_buildconfig_config_provider_create (IdeBuildconfigConfigProvider *self,
-                                               const gchar                         *config_id)
+                                        const gchar                  *config_id)
 {
   g_autoptr(IdeConfig) config = NULL;
   g_autofree gchar *env_group = NULL;
@@ -237,10 +237,10 @@ ide_buildconfig_config_provider_create (IdeBuildconfigConfigProvider *self,
 }
 
 static void
-ide_buildconfig_config_provider_load_async (IdeConfigProvider *provider,
-                                                   GCancellable             *cancellable,
-                                                   GAsyncReadyCallback       callback,
-                                                   gpointer                  user_data)
+ide_buildconfig_config_provider_load_async (IdeConfigProvider   *provider,
+                                            GCancellable        *cancellable,
+                                            GAsyncReadyCallback  callback,
+                                            gpointer             user_data)
 {
   IdeBuildconfigConfigProvider *self = (IdeBuildconfigConfigProvider *)provider;
   g_autoptr(IdeConfig) fallback = NULL;
@@ -314,8 +314,8 @@ complete:
 
 static gboolean
 ide_buildconfig_config_provider_load_finish (IdeConfigProvider  *provider,
-                                                    GAsyncResult              *result,
-                                                    GError                   **error)
+                                             GAsyncResult       *result,
+                                             GError            **error)
 {
   g_assert (IDE_IS_BUILDCONFIG_CONFIG_PROVIDER (provider));
   g_assert (IDE_IS_TASK (result));
@@ -325,9 +325,9 @@ ide_buildconfig_config_provider_load_finish (IdeConfigProvider  *provider,
 }
 
 static void
-ide_buildconfig_config_provider_append_env (IdeEnvironment  *env,
-                                            gchar           *env_group,
-                                            GKeyFile        *key_file)
+ide_buildconfig_config_provider_append_env (IdeEnvironment *env,
+                                            gchar          *env_group,
+                                            GKeyFile       *key_file)
 {
   guint n_items;
 
@@ -369,8 +369,8 @@ ide_buildconfig_config_provider_append_env (IdeEnvironment  *env,
 
 static void
 ide_buildconfig_config_provider_save_cb (GObject      *object,
-                                                GAsyncResult *result,
-                                                gpointer      user_data)
+                                         GAsyncResult *result,
+                                         gpointer      user_data)
 {
   GFile *file = (GFile *)object;
   g_autoptr(IdeTask) task = user_data;
diff --git a/src/plugins/buildconfig/ide-buildconfig-config.c 
b/src/plugins/buildconfig/ide-buildconfig-config.c
index 1dee365e3..83fda7104 100644
--- a/src/plugins/buildconfig/ide-buildconfig-config.c
+++ b/src/plugins/buildconfig/ide-buildconfig-config.c
@@ -26,7 +26,7 @@
 
 struct _IdeBuildconfigConfig
 {
-  IdeConfig   parent_instance;
+  IdeConfig          parent_instance;
 
   gchar            **prebuild;
   gchar            **postbuild;
@@ -56,9 +56,9 @@ ide_buildconfig_config_finalize (GObject *object)
 
 static void
 ide_buildconfig_config_get_property (GObject    *object,
-                                            guint       prop_id,
-                                            GValue     *value,
-                                            GParamSpec *pspec)
+                                     guint       prop_id,
+                                     GValue     *value,
+                                     GParamSpec *pspec)
 {
   IdeBuildconfigConfig *self = (IdeBuildconfigConfig *)object;
 
@@ -79,9 +79,9 @@ ide_buildconfig_config_get_property (GObject    *object,
 
 static void
 ide_buildconfig_config_set_property (GObject      *object,
-                                            guint         prop_id,
-                                            const GValue *value,
-                                            GParamSpec   *pspec)
+                                     guint         prop_id,
+                                     const GValue *value,
+                                     GParamSpec   *pspec)
 {
   IdeBuildconfigConfig *self = (IdeBuildconfigConfig *)object;
 
@@ -145,7 +145,7 @@ ide_buildconfig_config_get_postbuild (IdeBuildconfigConfig *self)
 
 void
 ide_buildconfig_config_set_prebuild (IdeBuildconfigConfig *self,
-                                            const gchar * const         *prebuild)
+                                     const gchar * const  *prebuild)
 {
   g_return_if_fail (IDE_IS_BUILDCONFIG_CONFIG (self));
 
@@ -159,7 +159,7 @@ ide_buildconfig_config_set_prebuild (IdeBuildconfigConfig *self,
 
 void
 ide_buildconfig_config_set_postbuild (IdeBuildconfigConfig *self,
-                                             const gchar * const         *postbuild)
+                                      const gchar * const  *postbuild)
 {
   g_return_if_fail (IDE_IS_BUILDCONFIG_CONFIG (self));
 
diff --git a/src/plugins/buildconfig/ide-buildconfig-config.h 
b/src/plugins/buildconfig/ide-buildconfig-config.h
index 1d876650d..fc557a3aa 100644
--- a/src/plugins/buildconfig/ide-buildconfig-config.h
+++ b/src/plugins/buildconfig/ide-buildconfig-config.h
@@ -28,11 +28,11 @@ G_BEGIN_DECLS
 
 G_DECLARE_FINAL_TYPE (IdeBuildconfigConfig, ide_buildconfig_config, IDE, BUILDCONFIG_CONFIG, IdeConfig)
 
-const gchar * const *ide_buildconfig_config_get_prebuild  (IdeBuildconfigConfig *self);
-void                 ide_buildconfig_config_set_prebuild  (IdeBuildconfigConfig *self,
-                                                                  const gchar * const         *prebuild);
-const gchar * const *ide_buildconfig_config_get_postbuild (IdeBuildconfigConfig *self);
-void                 ide_buildconfig_config_set_postbuild (IdeBuildconfigConfig *self,
-                                                                  const gchar * const         *postbuild);
+const gchar * const *ide_buildconfig_config_get_prebuild    (IdeBuildconfigConfig *self);
+void                 ide_buildconfig_config_set_prebuild    (IdeBuildconfigConfig *self,
+                                                             const gchar * const  *prebuild);
+const gchar * const *ide_buildconfig_config_get_postbuild   (IdeBuildconfigConfig *self);
+void                 ide_buildconfig_config_set_postbuild   (IdeBuildconfigConfig *self,
+                                                             const gchar * const  *postbuild);
 
 G_END_DECLS


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