diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-07-25 17:49:11 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:55:50 +0200 |
commit | b6954536f32352c0c29fe5a9a73de1018559a9c5 (patch) | |
tree | f0e50185f5c8f0fbe7b0f425fa66a214e926d3e9 /tests/gimarshallingtests.c | |
parent | a2b22ce75937d2d996ef90e0ab683d36031365d0 (diff) | |
download | gobject-introspection-b6954536f32352c0c29fe5a9a73de1018559a9c5.tar.gz |
giscanner: deprecate GObject-Introspection GTK-Doc tags
After discussing a different issue with the GTK-Doc maintainers,
we learned that our g-i specific top level tags should never have
existed in the first place. The prefered notation for annotations
that apply to the identifier should be written on the identifier
line, for example like what we already do with (skip).
As a result, this patch deprecates g-i specific top level tags and
implements them as annotations on the identifier instead but still
keeps support for malformed comment blocks using g-i specific top
level tags.
This means that all annotated code "out there" will continue to work
just fine with this version of g-i, but when a developer decides to
fix deprecation warnings in his/her comment blocks, the dependency
on g-i needs to be raised to a version that contains at least this
patch. #676133
https://bugzilla.gnome.org/show_bug.cgi?id=676133
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r-- | tests/gimarshallingtests.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c index 05502951..02c33de2 100644 --- a/tests/gimarshallingtests.c +++ b/tests/gimarshallingtests.c @@ -4114,11 +4114,9 @@ static void } /** - * gi_marshalling_tests_object_vfunc_with_callback: + * gi_marshalling_tests_object_vfunc_with_callback: (virtual vfunc_with_callback) * @callback: (scope call) (closure callback_data): * @callback_data: (allow-none): - * - * Virtual: vfunc_with_callback */ void gi_marshalling_tests_object_vfunc_with_callback (GIMarshallingTestsObject * @@ -5312,10 +5310,7 @@ static void gi_marshalling_tests_properties_object_class_init (GIMarshallingTest (), G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT)); /** - * GIMarshallingTestsPropertiesObject:some-boxed-glist: - * - * Type: GLib.List(gint) - * Transfer: none + * GIMarshallingTestsPropertiesObject:some-boxed-glist: (type GLib.List(gint)) (transfer none): */ g_object_class_install_property (object_class, SOME_BOXED_GLIST_PROPERTY, g_param_spec_boxed ("some-boxed-glist", |