aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-network-timezone.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-10-24 22:58:42 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-10-28 10:28:31 +0100
commit08d23dd64d4566423579d8fbe609ec6145eae861 (patch)
treea89c7e51adba9ea1670a0d35b28e9aa138fda831 /libmm-glib/mm-network-timezone.c
parent53a7dc2f63ac26edb1a3a8db8368b52cf0417de7 (diff)
docs,libmm-glib: provide per-version indices
Diffstat (limited to 'libmm-glib/mm-network-timezone.c')
-rw-r--r--libmm-glib/mm-network-timezone.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/libmm-glib/mm-network-timezone.c b/libmm-glib/mm-network-timezone.c
index 0a37c0ea..c2c555ee 100644
--- a/libmm-glib/mm-network-timezone.c
+++ b/libmm-glib/mm-network-timezone.c
@@ -47,6 +47,8 @@ struct _MMNetworkTimezonePrivate {
* Gets the timezone offset (in minutes) reported by the network.
*
* Returns: the offset, or %MM_NETWORK_TIMEZONE_OFFSET_UNKNOWN if unknown.
+ *
+ * Since: 1.0
*/
gint
mm_network_timezone_get_offset (MMNetworkTimezone *self)
@@ -76,6 +78,8 @@ mm_network_timezone_set_offset (MMNetworkTimezone *self,
* the network.
*
* Returns: the offset, or %MM_NETWORK_TIMEZONE_OFFSET_UNKNOWN if unknown.
+ *
+ * Since: 1.0
*/
gint
mm_network_timezone_get_dst_offset (MMNetworkTimezone *self)
@@ -103,7 +107,10 @@ mm_network_timezone_set_dst_offset (MMNetworkTimezone *self,
*
* Gets the number of leap seconds (TAI-UTC), as reported by the network.
*
- * Returns: the number of leap seconds, or %MM_NETWORK_TIMEZONE_LEAP_SECONDS_UNKNOWN if unknown.
+ * Returns: the number of leap seconds, or
+ * %MM_NETWORK_TIMEZONE_LEAP_SECONDS_UNKNOWN if unknown.
+ *
+ * Since: 1.0
*/
gint
mm_network_timezone_get_leap_seconds (MMNetworkTimezone *self)
@@ -236,7 +243,7 @@ mm_network_timezone_new (void)
static void
mm_network_timezone_init (MMNetworkTimezone *self)
{
- self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self),
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
MM_TYPE_NETWORK_TIMEZONE,
MMNetworkTimezonePrivate);