diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-24 22:58:42 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-10-28 10:28:31 +0100 |
commit | 08d23dd64d4566423579d8fbe609ec6145eae861 (patch) | |
tree | a89c7e51adba9ea1670a0d35b28e9aa138fda831 /libmm-glib/mm-unlock-retries.c | |
parent | 53a7dc2f63ac26edb1a3a8db8368b52cf0417de7 (diff) |
docs,libmm-glib: provide per-version indices
Diffstat (limited to 'libmm-glib/mm-unlock-retries.c')
-rw-r--r-- | libmm-glib/mm-unlock-retries.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libmm-glib/mm-unlock-retries.c b/libmm-glib/mm-unlock-retries.c index 935c7ceb..d3feb049 100644 --- a/libmm-glib/mm-unlock-retries.c +++ b/libmm-glib/mm-unlock-retries.c @@ -32,7 +32,7 @@ * mm_modem_get_unlock_retries() or mm_modem_peek_unlock_retries(). */ -G_DEFINE_TYPE (MMUnlockRetries, mm_unlock_retries, G_TYPE_OBJECT); +G_DEFINE_TYPE (MMUnlockRetries, mm_unlock_retries, G_TYPE_OBJECT) struct _MMUnlockRetriesPrivate { GHashTable *ht; @@ -68,6 +68,8 @@ mm_unlock_retries_unset (MMUnlockRetries *self, * Gets the unlock retries for the given @lock. * * Returns: the unlock retries or %MM_UNLOCK_RETRIES_UNKNOWN if unknown. + * + * Since: 1.0 */ guint mm_unlock_retries_get (MMUnlockRetries *self, @@ -116,6 +118,8 @@ mm_unlock_retries_cmp (MMUnlockRetries *a, * @user_data: (closure): data to pass to @callback. * * Executes @callback for each lock information found in @self. + * + * Since: 1.0 */ void mm_unlock_retries_foreach (MMUnlockRetries *self, @@ -221,7 +225,7 @@ mm_unlock_retries_new (void) static void mm_unlock_retries_init (MMUnlockRetries *self) { - self->priv = G_TYPE_INSTANCE_GET_PRIVATE ((self), + self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, MM_TYPE_UNLOCK_RETRIES, MMUnlockRetriesPrivate); self->priv->ht = g_hash_table_new (g_direct_hash, |