Fix for GObject-Introspection annotation changes

The GTK-Doc form of annotations is deprecated.
This commit is contained in:
Stef Walter 2014-09-09 15:17:23 +02:00
parent 5e2fe4afaa
commit d205542ba3
3 changed files with 8 additions and 25 deletions

View File

@ -346,13 +346,10 @@ secret_item_class_init (SecretItemClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
/**
* SecretItem:attributes:
* SecretItem:attributes: (type GLib.HashTable(utf8,utf8)) (transfer full)
*
* The attributes set on this item. Attributes are used to locate an
* item. They are not guaranteed to be stored or transferred securely.
*
* Type: GLib.HashTable(utf8,utf8)
* Transfer: full
*/
g_object_class_install_property (gobject_class, PROP_ATTRIBUTES,
g_param_spec_boxed ("attributes", "Attributes", "Item attributes",

View File

@ -102,7 +102,7 @@ secret_password_store (const SecretSchema *schema,
}
/**
* secret_password_storev:
* secret_password_storev: (rename-to secret_password_store)
* @schema: the schema for attributes
* @attributes: (element-type utf8 utf8): the attribute keys and values
* @collection: (allow-none): a collection alias, or D-Bus object path of the collection where to store the secret
@ -124,8 +124,6 @@ secret_password_store (const SecretSchema *schema,
* collection, which doesn't get stored across login sessions.
*
* This method will return immediately and complete asynchronously.
*
* Rename to: secret_password_store
*/
void
secret_password_storev (const SecretSchema *schema,
@ -238,7 +236,7 @@ secret_password_store_sync (const SecretSchema *schema,
}
/**
* secret_password_storev_sync:
* secret_password_storev_sync: (rename-to secret_password_store_sync)
* @schema: the schema for attributes
* @attributes: (element-type utf8 utf8): the attribute keys and values
* @collection: (allow-none): a collection alias, or D-Bus object path of the collection where to store the secret
@ -262,8 +260,6 @@ secret_password_store_sync (const SecretSchema *schema,
* threads.
*
* Returns: whether the storage was successful or not
*
* Rename to: secret_password_store_sync
*/
gboolean
secret_password_storev_sync (const SecretSchema *schema,
@ -351,7 +347,7 @@ secret_password_lookup (const SecretSchema *schema,
}
/**
* secret_password_lookupv:
* secret_password_lookupv: (rename-to secret_password_lookup)
* @schema: the schema for attributes
* @attributes: (element-type utf8 utf8): the attribute keys and values
* @cancellable: optional cancellation object
@ -365,8 +361,6 @@ secret_password_lookup (const SecretSchema *schema,
* If no secret is found then %NULL is returned.
*
* This method will return immediately and complete asynchronously.
*
* Rename to: secret_password_lookup
*/
void
secret_password_lookupv (const SecretSchema *schema,
@ -595,7 +589,7 @@ secret_password_lookupv_nonpageable_sync (const SecretSchema *schema,
}
/**
* secret_password_lookupv_sync:
* secret_password_lookupv_sync: (rename-to secret_password_lookup_sync)
* @schema: the schema for attributes
* @attributes: (element-type utf8 utf8): the attribute keys and values
* @cancellable: optional cancellation object
@ -612,8 +606,6 @@ secret_password_lookupv_nonpageable_sync (const SecretSchema *schema,
*
* Returns: (transfer full): a new password string which should be freed with
* secret_password_free() or may be freed with g_free() when done
*
* Rename to: secret_password_lookup_sync
*/
gchar *
secret_password_lookupv_sync (const SecretSchema *schema,
@ -697,7 +689,7 @@ secret_password_clear (const SecretSchema *schema,
/**
* secret_password_clearv:
* secret_password_clearv: (rename-to secret_password_clear)
* @schema: the schema for the attributes
* @attributes: (element-type utf8 utf8): the attribute keys and values
* @cancellable: optional cancellation object
@ -711,8 +703,6 @@ secret_password_clear (const SecretSchema *schema,
* All unlocked items that match the attributes will be deleted.
*
* This method will return immediately and complete asynchronously.
*
* Rename to: secret_password_clear
*/
void
secret_password_clearv (const SecretSchema *schema,
@ -803,7 +793,7 @@ secret_password_clear_sync (const SecretSchema* schema,
}
/**
* secret_password_clearv_sync:
* secret_password_clearv_sync: (rename-to secret_password_clear_sync)
* @schema: the schema for the attributes
* @attributes: (element-type utf8 utf8): the attribute keys and values
* @cancellable: optional cancellation object
@ -819,8 +809,6 @@ secret_password_clear_sync (const SecretSchema* schema,
* threads.
*
* Returns: whether any passwords were removed
*
* Rename to: secret_password_clear_sync
*/
gboolean
secret_password_clearv_sync (const SecretSchema *schema,

View File

@ -149,7 +149,7 @@ G_DEFINE_BOXED_TYPE (SecretSchemaAttribute, secret_schema_attribute,
schema_attribute_copy, schema_attribute_free);
/**
* secret_schema_newv:
* secret_schema_newv: (rename-to secret_schema_new)
* @name: the dotted name of the schema
* @flags: the flags for the schema
* @attribute_names_and_types: (element-type utf8 Secret.SchemaAttributeType): the attribute names and types of those attributes
@ -176,8 +176,6 @@ G_DEFINE_BOXED_TYPE (SecretSchemaAttribute, secret_schema_attribute,
* that are not stored by the libsecret library. Other libraries such as libgnome-keyring
* don't store the schema name.
*
* Rename to: secret_schema_new
*
* Returns: (transfer full): the new schema, which should be unreferenced with
* secret_schema_unref() when done
*/