summaryrefslogtreecommitdiff
path: root/callouts
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-06 19:35:31 -0400
committerDan Winship <danw@gnome.org>2014-09-04 09:17:36 -0400
commit773d3f0ab69a2d9faba8d031adb63233ba794e9b (patch)
tree9bb5b808b1a1f28e526070bd8e4e059bc32bff5f /callouts
parentc9653a9e67ed746e0388c38900a6e2de65f8a6bf (diff)
libnm-core: rename NMConnection to/from_hash methods
Rename nm_connection_to_hash() to nm_connection_to_dbus(), and nm_connection_new_from_hash() to nm_connection_new_from_dbus(). In addition to clarifying that this is specifically the D-Bus serialization format, these names will also work better in the GDBus-based future where the serialization format is GVariant, not GHashTable. Also, move NMSettingHashFlags to nm-connection.h, and rename it NMConnectionSerializationFlags.
Diffstat (limited to 'callouts')
-rw-r--r--callouts/tests/test-dispatcher-envp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/callouts/tests/test-dispatcher-envp.c b/callouts/tests/test-dispatcher-envp.c
index 9d9ee52a4d..05c2e8ed9c 100644
--- a/callouts/tests/test-dispatcher-envp.c
+++ b/callouts/tests/test-dispatcher-envp.c
@@ -167,7 +167,7 @@ parse_main (GKeyFile *kf,
g_free (id);
nm_connection_add_setting (connection, NM_SETTING (s_con));
- *out_con_hash = nm_connection_to_hash (connection, NM_SETTING_HASH_FLAG_ALL);
+ *out_con_hash = nm_connection_to_dbus (connection, NM_CONNECTION_SERIALIZE_ALL);
g_object_unref (connection);
*out_con_props = value_hash_create ();