about summary refs log tree commit diff
path: root/src/settings/nm-settings-connection.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-03-01 16:55:22 +0100
committerMichael Biebl <biebl@debian.org>2016-03-01 16:55:22 +0100
commitc2de0d98ba39e0a1a970d066fd19be786092f376 (patch)
tree3838363c06a6019db6cf1f882ea34ebded63c38b /src/settings/nm-settings-connection.c
parent494f296a3baab08522617b24b1f126d8f9a17502 (diff)
Imported Upstream version 1.1.91 upstream/1.1.91
Diffstat (limited to 'src/settings/nm-settings-connection.c')
-rw-r--r--src/settings/nm-settings-connection.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/settings/nm-settings-connection.c b/src/settings/nm-settings-connection.c
index f7e5002c..a1695b34 100644
--- a/src/settings/nm-settings-connection.c
+++ b/src/settings/nm-settings-connection.c
@@ -19,11 +19,10 @@
  * Copyright 2008 - 2014 Red Hat, Inc.
  */
 
-#include "config.h"
+#include "nm-default.h"
 
 #include <string.h>
 
-#include "nm-default.h"
 #include "nm-dbus-interface.h"
 #include "nm-settings-connection.h"
 #include "nm-session-monitor.h"
@@ -1716,10 +1715,10 @@ get_update_modify_permission (NMConnection *old, NMConnection *new)
 }
 
 static void
-impl_settings_connection_update_helper (NMSettingsConnection *self,
-                                        GDBusMethodInvocation *context,
-                                        GVariant *new_settings,
-                                        gboolean save_to_disk)
+settings_connection_update_helper (NMSettingsConnection *self,
+                                   GDBusMethodInvocation *context,
+                                   GVariant *new_settings,
+                                   gboolean save_to_disk)
 {
 	NMSettingsConnectionPrivate *priv = NM_SETTINGS_CONNECTION_GET_PRIVATE (self);
 	NMAuthSubject *subject = NULL;
@@ -1790,7 +1789,7 @@ impl_settings_connection_update (NMSettingsConnection *self,
                                  GDBusMethodInvocation *context,
                                  GVariant *new_settings)
 {
-	impl_settings_connection_update_helper (self, context, new_settings, TRUE);
+	settings_connection_update_helper (self, context, new_settings, TRUE);
 }
 
 static void
@@ -1798,7 +1797,7 @@ impl_settings_connection_update_unsaved (NMSettingsConnection *self,
                                          GDBusMethodInvocation *context,
                                          GVariant *new_settings)
 {
-	impl_settings_connection_update_helper (self, context, new_settings, FALSE);
+	settings_connection_update_helper (self, context, new_settings, FALSE);
 }
 
 static void
@@ -1807,7 +1806,7 @@ impl_settings_connection_save (NMSettingsConnection *self,
 {
 	/* Do nothing if the connection is already synced with disk */
 	if (nm_settings_connection_get_unsaved (self))
-		impl_settings_connection_update_helper (self, context, NULL, TRUE);
+		settings_connection_update_helper (self, context, NULL, TRUE);
 	else
 		g_dbus_method_invocation_return_value (context, NULL);
 }