From db33283cb8e39713c33b246d52dcd4fe7d66fffd Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 9 Apr 2009 15:10:01 +0100 Subject: McdAccount Compat: add SetHasBeenOnline --- src/mcd-account-compat.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/mcd-account-compat.c') 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 } /** -- cgit v1.2.3