aboutsummaryrefslogtreecommitdiffstats
path: root/goa-mc-plugin
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2013-03-22 23:40:54 +0800
committerEmanuele Aina <emanuele.aina@collabora.com>2013-03-27 19:52:50 +0800
commit22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e (patch)
treeb7b4cbdb172858d6b2a8b049496d5cd72676b18e /goa-mc-plugin
parentcab341424920cfa3820c764be359ea5ed8cc2f79 (diff)
downloadgsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.tar
gsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.tar.gz
gsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.tar.bz2
gsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.tar.lz
gsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.tar.xz
gsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.tar.zst
gsoc2013-empathy-22e67d00902d4ded9ceea8fbc0f9b168c47a3f2e.zip
goa-mc-plugin: Fix deprecation warnings
https://bugzilla.gnome.org/show_bug.cgi?id=696544
Diffstat (limited to 'goa-mc-plugin')
-rw-r--r--goa-mc-plugin/mcp-account-manager-goa.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/goa-mc-plugin/mcp-account-manager-goa.c b/goa-mc-plugin/mcp-account-manager-goa.c
index 4b64e546d..41eb8f6eb 100644
--- a/goa-mc-plugin/mcp-account-manager-goa.c
+++ b/goa-mc-plugin/mcp-account-manager-goa.c
@@ -604,13 +604,12 @@ mcp_account_manager_goa_get_identifier (const McpAccountStorage *self,
static void
account_storage_iface_init (McpAccountStorageIface *iface)
{
- mcp_account_storage_iface_set_name (iface, PLUGIN_NAME);
- mcp_account_storage_iface_set_desc (iface, PLUGIN_DESCRIPTION);
- mcp_account_storage_iface_set_priority (iface, PLUGIN_PRIORITY);
- mcp_account_storage_iface_set_provider (iface, PLUGIN_PROVIDER);
+ iface->name = PLUGIN_NAME;
+ iface->desc = PLUGIN_DESCRIPTION;
+ iface->priority = PLUGIN_PRIORITY;
+ iface->provider = PLUGIN_PROVIDER;
-#define IMPLEMENT(x) mcp_account_storage_iface_implement_##x(iface, \
- mcp_account_manager_goa_##x)
+#define IMPLEMENT(x) iface->x = mcp_account_manager_goa_##x
IMPLEMENT (get);
IMPLEMENT (list);
IMPLEMENT (set);