After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 565126 - linking to struct members
linking to struct members
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.12
Other Linux
: Normal enhancement
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-19 21:16 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2009-02-21 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add id to struct members (452 bytes, patch)
2009-01-31 17:04 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2008-12-19 21:16:50 UTC
Documentation (see gst-plugins-base/gst-libs/gst/audio/gastaudiofilter.c):
...
 * Derived classes should override the #GstAudioFilter::setup() and
 * #GstBaseTransform::transform_ip() and/or #GstBaseTransform::transform()
 * virtual functions in their class_init function.
...

Created Text:
...
Derived classes should override the ""setup() and ""transform_ip()
...
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-12-19 21:20:36 UTC
This doc markup acualy works:
...
 * Derived classes should override the #GstAudioFilterClass.setup() and
 * #GstBaseTransformClass.transform_ip() and/or
 * #GstBaseTransformClass.transform()
...
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-31 17:04:50 UTC
Created attachment 127639 [details] [review]
add id to struct members

If we would want to link them directly we will need to convince docbook stylesheets to create anchors for <structfield>. The attached patch gives them an id and thus makes them ref-able. Need to add something to be able to ref those.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-02-21 13:12:22 UTC
2009-02-21  Stefan Kost  <ensonic@users.sf.net>

	* gtkdoc-mkdb.in:
	* help/manual/C/gtk-doc-manual.xml:
	* tests/gobject/src/gobject.c:
	  Allow linking to struct members. Update docs. Fixes #565126.