summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-11-15 13:22:28 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-01-29 19:28:31 +0000
commit85b98a82332a55925b2bcc2f26bee530ee244dd7 (patch)
tree0abdf70f1191e828142fbce8ab558496a5ff2dc6
parent2333321be2b6550a462d9cf92a1700d77d682734 (diff)
mcpa_unescape_variant_from_keyfile: inline implementation
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27727
-rw-r--r--src/mcd-storage.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mcd-storage.c b/src/mcd-storage.c
index 0f965571..66fbd826 100644
--- a/src/mcd-storage.c
+++ b/src/mcd-storage.c
@@ -1922,7 +1922,8 @@ mcd_storage_ready (McdStorage *self)
}
static GVariant *
-mcd_keyfile_unescape_variant (const gchar *escaped,
+mcpa_unescape_variant_from_keyfile (const McpAccountManager *mcpa,
+ const gchar *escaped,
const GVariantType *type,
GError **error)
{
@@ -1943,15 +1944,6 @@ mcd_keyfile_unescape_variant (const gchar *escaped,
return ret;
}
-static GVariant *
-mcpa_unescape_variant_from_keyfile (const McpAccountManager *mcpa,
- const gchar *escaped,
- const GVariantType *type,
- GError **error)
-{
- return mcd_keyfile_unescape_variant (escaped, type, error);
-}
-
static void
plugin_iface_init (McpAccountManagerIface *iface,
gpointer unused G_GNUC_UNUSED)