summaryrefslogtreecommitdiff
path: root/src/mcd-account-compat.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-09 15:10:01 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-04-09 15:10:01 +0100
commitdb33283cb8e39713c33b246d52dcd4fe7d66fffd (patch)
tree8bfef9ce7b88cb48646442ecc49472d8ad5f0282 /src/mcd-account-compat.c
parentf0703003174896772a47e0a4d04ca1a5405ed7c7 (diff)
McdAccount Compat: add SetHasBeenOnline
Diffstat (limited to 'src/mcd-account-compat.c')
-rw-r--r--src/mcd-account-compat.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mcd-account-compat.c b/src/mcd-account-compat.c
index bd4e8fcf..f52d8086 100644
--- a/src/mcd-account-compat.c
+++ b/src/mcd-account-compat.c
@@ -153,11 +153,22 @@ const McdDBusProp account_compat_properties[] = {
{ 0 },
};
+static void
+compat_set_has_been_online (McSvcAccountInterfaceCompat *iface,
+ DBusGMethodInvocation *context)
+{
+ _mcd_account_set_has_been_online (MCD_ACCOUNT (iface));
+ mc_svc_account_interface_compat_return_from_set_has_been_online (context);
+}
+
void
account_compat_iface_init (McSvcAccountInterfaceCompatClass *iface,
gpointer iface_data)
{
- /* nothing to do */
+#define IMPLEMENT(x) mc_svc_account_interface_compat_implement_##x (\
+ iface, compat_##x)
+ IMPLEMENT (set_has_been_online);
+#undef IMPLEMENT
}
/**