summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-16 10:09:48 -0400
committerDan Winship <danw@gnome.org>2014-09-18 11:51:09 -0400
commitacf86f68b33b14070d9b03a681fe94ffeead66ef (patch)
tree28069ac74e5bc7ecfc185495969cdeab7ca203a8 /libnm-core/nm-setting.h
parent4750559548fd1a0fb73cb826fa818dfe1e4f6940 (diff)
downloadNetworkManager-acf86f68b33b14070d9b03a681fe94ffeead66ef.tar.gz
libnm-core: change connection hash tables to variants in API
In preparation for porting to GDBus, make nm_connection_to_dbus(), etc, represent connections as GVariants of type 'a{sa{sv}}' rather than as GHashTables-of-GHashTables-of-GValues. This means we're constantly converting back and forth internally, but this is just a stepping stone on the way to the full GDBus port, and all of that code will go away again later.
Diffstat (limited to 'libnm-core/nm-setting.h')
-rw-r--r--libnm-core/nm-setting.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting.h b/libnm-core/nm-setting.h
index c2fef09f1b..80fc7bb6a6 100644
--- a/libnm-core/nm-setting.h
+++ b/libnm-core/nm-setting.h
@@ -179,7 +179,7 @@ typedef struct {
int (*update_one_secret) (NMSetting *setting,
const char *key,
- GValue *value,
+ GVariant *value,
GError **error);
gboolean (*get_secret_flags) (NMSetting *setting,