about summary refs log tree commit diff
path: root/src/libnm-client-impl/nm-remote-connection.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
committerMichael Biebl <biebl@debian.org>2022-02-14 19:23:28 +0100
commit2f94dba7385fd0e0ef19a06eb4a2fcf6c43d7946 (patch)
treee2222f5577115985dd52044d2991253403cdd952 /src/libnm-client-impl/nm-remote-connection.c
parent88c227d90a6b7b388c5c85d72802a0ca8f05ed5c (diff)
New upstream version 1.35.91 upstream/1.35.91
Diffstat (limited to 'src/libnm-client-impl/nm-remote-connection.c')
-rw-r--r--src/libnm-client-impl/nm-remote-connection.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/libnm-client-impl/nm-remote-connection.c b/src/libnm-client-impl/nm-remote-connection.c
index 8e36cf6d..efc4dbfb 100644
--- a/src/libnm-client-impl/nm-remote-connection.c
+++ b/src/libnm-client-impl/nm-remote-connection.c
@@ -36,7 +36,7 @@ NM_GOBJECT_PROPERTIES_DEFINE(NMRemoteConnection,
 typedef struct {
     GCancellable *get_settings_cancellable;
 
-    char *  filename;
+    char   *filename;
     guint32 flags;
     bool    unsaved;
 
@@ -81,11 +81,11 @@ G_DEFINE_TYPE_WITH_CODE(NMRemoteConnection,
  * Since: 1.12
  **/
 void
-nm_remote_connection_update2(NMRemoteConnection *   connection,
-                             GVariant *             settings,
+nm_remote_connection_update2(NMRemoteConnection    *connection,
+                             GVariant              *settings,
                              NMSettingsUpdate2Flags flags,
-                             GVariant *             args,
-                             GCancellable *         cancellable,
+                             GVariant              *args,
+                             GCancellable          *cancellable,
                              GAsyncReadyCallback    callback,
                              gpointer               user_data)
 {
@@ -128,11 +128,11 @@ nm_remote_connection_update2(NMRemoteConnection *   connection,
  **/
 GVariant *
 nm_remote_connection_update2_finish(NMRemoteConnection *connection,
-                                    GAsyncResult *      result,
-                                    GError **           error)
+                                    GAsyncResult       *result,
+                                    GError            **error)
 {
     gs_unref_variant GVariant *ret = NULL;
-    GVariant *                 v_result;
+    GVariant                  *v_result;
 
     g_return_val_if_fail(NM_IS_REMOTE_CONNECTION(connection), NULL);
     g_return_val_if_fail(nm_g_task_is_valid(result, connection, nm_remote_connection_update2),
@@ -167,8 +167,8 @@ nm_remote_connection_update2_finish(NMRemoteConnection *connection,
 gboolean
 nm_remote_connection_commit_changes(NMRemoteConnection *connection,
                                     gboolean            save_to_disk,
-                                    GCancellable *      cancellable,
-                                    GError **           error)
+                                    GCancellable       *cancellable,
+                                    GError            **error)
 {
     gs_unref_variant GVariant *ret = NULL;
 
@@ -213,7 +213,7 @@ nm_remote_connection_commit_changes(NMRemoteConnection *connection,
 void
 nm_remote_connection_commit_changes_async(NMRemoteConnection *connection,
                                           gboolean            save_to_disk,
-                                          GCancellable *      cancellable,
+                                          GCancellable       *cancellable,
                                           GAsyncReadyCallback callback,
                                           gpointer            user_data)
 {
@@ -242,8 +242,8 @@ nm_remote_connection_commit_changes_async(NMRemoteConnection *connection,
  **/
 gboolean
 nm_remote_connection_commit_changes_finish(NMRemoteConnection *connection,
-                                           GAsyncResult *      result,
-                                           GError **           error)
+                                           GAsyncResult       *result,
+                                           GError            **error)
 {
     gs_unref_variant GVariant *v_result = NULL;
 
@@ -296,7 +296,7 @@ nm_remote_connection_save(NMRemoteConnection *connection, GCancellable *cancella
  **/
 void
 nm_remote_connection_save_async(NMRemoteConnection *connection,
-                                GCancellable *      cancellable,
+                                GCancellable       *cancellable,
                                 GAsyncReadyCallback callback,
                                 gpointer            user_data)
 {
@@ -331,8 +331,8 @@ nm_remote_connection_save_async(NMRemoteConnection *connection,
  **/
 gboolean
 nm_remote_connection_save_finish(NMRemoteConnection *connection,
-                                 GAsyncResult *      result,
-                                 GError **           error)
+                                 GAsyncResult       *result,
+                                 GError            **error)
 {
     g_return_val_if_fail(NM_IS_REMOTE_CONNECTION(connection), FALSE);
     g_return_val_if_fail(nm_g_task_is_valid(result, connection, nm_remote_connection_save_async),
@@ -357,8 +357,8 @@ nm_remote_connection_save_finish(NMRemoteConnection *connection,
  **/
 gboolean
 nm_remote_connection_delete(NMRemoteConnection *connection,
-                            GCancellable *      cancellable,
-                            GError **           error)
+                            GCancellable       *cancellable,
+                            GError            **error)
 {
     g_return_val_if_fail(NM_IS_REMOTE_CONNECTION(connection), FALSE);
 
@@ -385,7 +385,7 @@ nm_remote_connection_delete(NMRemoteConnection *connection,
  **/
 void
 nm_remote_connection_delete_async(NMRemoteConnection *connection,
-                                  GCancellable *      cancellable,
+                                  GCancellable       *cancellable,
                                   GAsyncReadyCallback callback,
                                   gpointer            user_data)
 {
@@ -420,8 +420,8 @@ nm_remote_connection_delete_async(NMRemoteConnection *connection,
  **/
 gboolean
 nm_remote_connection_delete_finish(NMRemoteConnection *connection,
-                                   GAsyncResult *      result,
-                                   GError **           error)
+                                   GAsyncResult       *result,
+                                   GError            **error)
 {
     g_return_val_if_fail(NM_IS_REMOTE_CONNECTION(connection), FALSE);
     g_return_val_if_fail(nm_g_task_is_valid(result, connection, nm_remote_connection_delete_async),
@@ -447,12 +447,12 @@ nm_remote_connection_delete_finish(NMRemoteConnection *connection,
  **/
 GVariant *
 nm_remote_connection_get_secrets(NMRemoteConnection *connection,
-                                 const char *        setting_name,
-                                 GCancellable *      cancellable,
-                                 GError **           error)
+                                 const char         *setting_name,
+                                 GCancellable       *cancellable,
+                                 GError            **error)
 {
     gs_unref_variant GVariant *ret = NULL;
-    GVariant *                 secrets;
+    GVariant                  *secrets;
 
     g_return_val_if_fail(NM_IS_REMOTE_CONNECTION(connection), NULL);
     g_return_val_if_fail(setting_name, NULL);
@@ -489,8 +489,8 @@ nm_remote_connection_get_secrets(NMRemoteConnection *connection,
  **/
 void
 nm_remote_connection_get_secrets_async(NMRemoteConnection *connection,
-                                       const char *        setting_name,
-                                       GCancellable *      cancellable,
+                                       const char         *setting_name,
+                                       GCancellable       *cancellable,
                                        GAsyncReadyCallback callback,
                                        gpointer            user_data)
 {
@@ -527,11 +527,11 @@ nm_remote_connection_get_secrets_async(NMRemoteConnection *connection,
  **/
 GVariant *
 nm_remote_connection_get_secrets_finish(NMRemoteConnection *connection,
-                                        GAsyncResult *      result,
-                                        GError **           error)
+                                        GAsyncResult       *result,
+                                        GError            **error)
 {
     gs_unref_variant GVariant *ret = NULL;
-    GVariant *                 secrets;
+    GVariant                  *secrets;
 
     g_return_val_if_fail(NM_IS_REMOTE_CONNECTION(connection), NULL);
     g_return_val_if_fail(
@@ -635,7 +635,7 @@ void
 _nm_remote_settings_get_settings_commit(NMRemoteConnection *self, GVariant *settings)
 {
     NMRemoteConnectionPrivate *priv    = NM_REMOTE_CONNECTION_GET_PRIVATE(self);
-    GError *                   error   = NULL;
+    GError                    *error   = NULL;
     gboolean                   visible = FALSE;
     gboolean                   changed = FALSE;
 
@@ -761,7 +761,7 @@ const NMLDBusMetaIface _nml_dbus_meta_iface_nm_settings_connection = NML_DBUS_ME
 static void
 nm_remote_connection_class_init(NMRemoteConnectionClass *klass)
 {
-    GObjectClass * object_class    = G_OBJECT_CLASS(klass);
+    GObjectClass  *object_class    = G_OBJECT_CLASS(klass);
     NMObjectClass *nm_object_class = NM_OBJECT_CLASS(klass);
 
     object_class->get_property = get_property;