diff options
author | Thomas Tuttle <ttuttle@chromium.org> | 2012-01-27 13:24:13 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-01-27 15:14:24 -0600 |
commit | 0e246fb61db27e423539f400df4774c269929a7d (patch) | |
tree | 132ee785569f85b8f0cb588401baee6fbb9e2619 /src/mm-modem-time.c | |
parent | 8121b8e31922e89e5429b8ffa8c388d84f65c1f0 (diff) |
time: poll for timezone
Signed-off-by: Thomas Tuttle <ttuttle@chromium.org>
Diffstat (limited to 'src/mm-modem-time.c')
-rw-r--r-- | src/mm-modem-time.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mm-modem-time.c b/src/mm-modem-time.c index a1878c83..1bc5f278 100644 --- a/src/mm-modem-time.c +++ b/src/mm-modem-time.c @@ -87,6 +87,21 @@ mm_modem_time_get_network_time (MMModemTime *self, async_get_call_not_supported (self, callback, user_data); } +gboolean +mm_modem_time_poll_network_timezone (MMModemTime *self, + MMModemFn callback, + gpointer user_data) +{ + g_return_val_if_fail (MM_IS_MODEM_TIME (self), FALSE); + g_return_val_if_fail (callback != NULL, FALSE); + + if (MM_MODEM_TIME_GET_INTERFACE (self)->poll_network_timezone) + return MM_MODEM_TIME_GET_INTERFACE (self)->poll_network_timezone + (self, callback, user_data); + else + return FALSE; +} + static void impl_modem_time_get_network_time (MMModemTime *self, DBusGMethodInvocation *context) |