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 747107 - GVariant varargs documentation: g_variant_get() example
GVariant varargs documentation: g_variant_get() example
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-03-31 12:13 UTC by Thomas Perl
Modified: 2016-04-12 03:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (892 bytes, patch)
2015-03-31 12:13 UTC, Thomas Perl
committed Details | Review

Description Thomas Perl 2015-03-31 12:13:38 UTC
Created attachment 300662 [details] [review]
Proposed fix

The documentation shows a wrong example where the void return value of g_variant_get() is assigned to a local variable.

Attached is a patch that fixes this.