diff options
author | Garrett Regier <garrettregier@gmail.com> | 2013-11-03 15:30:23 -0800 |
---|---|---|
committer | Garrett Regier <garrettregier@gmail.com> | 2013-11-03 15:31:11 -0800 |
commit | b71fe27f2466cb57ad38eb4c58768d1d9ef27c8d (patch) | |
tree | 89518a6157abbac897a11d5ce1c5edf4debb5ae1 /libpeas/peas-extension-set.c | |
parent | ad1d30d5bc008e82f23fa4eeb3a0e339998f6dec (diff) | |
download | libpeas-b71fe27f2466cb57ad38eb4c58768d1d9ef27c8d.tar.gz |
Use the new gobject-introspection annotations
And fix warnings given by the newer version.
Diffstat (limited to 'libpeas/peas-extension-set.c')
-rw-r--r-- | libpeas/peas-extension-set.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/libpeas/peas-extension-set.c b/libpeas/peas-extension-set.c index a91889f..2ac13a6 100644 --- a/libpeas/peas-extension-set.c +++ b/libpeas/peas-extension-set.c @@ -602,7 +602,7 @@ peas_extension_set_foreach (PeasExtensionSet *set, } /** - * peas_extension_set_newv: + * peas_extension_set_newv: (rename-to peas_extension_set_new) * @engine: (allow-none): A #PeasEngine, or %NULL. * @exten_type: the extension #GType. * @n_parameters: the length of the @parameters array. @@ -615,8 +615,6 @@ peas_extension_set_foreach (PeasExtensionSet *set, * See peas_extension_set_new() for more information. * * Returns: (transfer full): a new instance of #PeasExtensionSet. - * - * Rename to: peas_extension_set_new */ PeasExtensionSet * peas_extension_set_newv (PeasEngine *engine, @@ -638,7 +636,7 @@ peas_extension_set_newv (PeasEngine *engine, /** * peas_extension_set_new_valist: (skip) - * @engine: A #PeasEngine, or %NULL. + * @engine: (allow-none): A #PeasEngine, or %NULL. * @exten_type: the extension #GType. * @first_property: the name of the first property. * @var_args: the value of the first property, followed optionally by more @@ -683,7 +681,7 @@ peas_extension_set_new_valist (PeasEngine *engine, /** * peas_extension_set_new: (skip) - * @engine: A #PeasEngine, or %NULL. + * @engine: (allow-none): A #PeasEngine, or %NULL. * @exten_type: the extension #GType. * @first_property: the name of the first property. * @...: the value of the first property, followed optionally by more |