summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-12 14:03:48 +0100
committerThomas Haller <thaller@redhat.com>2016-02-16 11:24:22 +0100
commit4b76d866981b65f9e9ee282dc901ab907f546221 (patch)
tree0842087a6cde9cba410054e15d97b7eb0c0e5c40
parent5637d72af2d51b6f2b8dbe70553754f1828fdb66 (diff)
downloadNetworkManager-4b76d866981b65f9e9ee282dc901ab907f546221.tar.gz
core/trivial: rename local function in "nm-settings-connection.c"
Only D-Bus implementations should be named "^impl_.*", not a helper function.
-rw-r--r--src/settings/nm-settings-connection.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/settings/nm-settings-connection.c b/src/settings/nm-settings-connection.c
index f7e5002cd3..287cb69a7c 100644
--- a/src/settings/nm-settings-connection.c
+++ b/src/settings/nm-settings-connection.c
@@ -1716,10 +1716,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 +1790,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 +1798,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 +1807,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);
}