diff options
author | Thomas Haller <thaller@redhat.com> | 2022-11-16 17:07:33 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-11-16 17:07:33 +0100 |
commit | fc6695d16854c04bc146cd43e1a5e897a1cbdf83 (patch) | |
tree | 954841a2c0d56020b5ebfd17cb28333cdf526b55 /src/connection-editor/connection-helpers.c | |
parent | 9cc73295ec0c2be066c4a5eb3869a0a592f7c7f7 (diff) | |
download | network-manager-applet-fc6695d16854c04bc146cd43e1a5e897a1cbdf83.tar.gz |
c-e: rename vpn_connection_from_file() to connection_import_from_file()
It will not only import VPN profiles. Rename.
Diffstat (limited to 'src/connection-editor/connection-helpers.c')
-rw-r--r-- | src/connection-editor/connection-helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection-editor/connection-helpers.c b/src/connection-editor/connection-helpers.c index 0b078eba..0c365808 100644 --- a/src/connection-editor/connection-helpers.c +++ b/src/connection-editor/connection-helpers.c @@ -163,7 +163,7 @@ no_description: } NMConnection * -vpn_connection_from_file (const char *filename, GError **error) +connection_import_from_file (const char *filename, GError **error) { gs_free_error GError *unused_error = NULL; NMConnection *connection = NULL; @@ -237,7 +237,7 @@ import_vpn_from_file_cb (GtkWidget *dialog, gint response, gpointer user_data) } canceled = FALSE; - connection = vpn_connection_from_file (filename, &error); + connection = connection_import_from_file (filename, &error); if (connection) { /* Wrap around the actual new function so that the page can complete * the missing parts, such as UUID or make up the connection name. */ |