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 710496 - g_locale_to/from_utf8() doc updated.
g_locale_to/from_utf8() doc updated.
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: docs
2.38.x
Other All
: Normal trivial
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-10-19 08:06 UTC by Jehan
Modified: 2013-10-19 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Doc update. (1.34 KB, patch)
2013-10-19 08:06 UTC, Jehan
committed Details | Review

Description Jehan 2013-10-19 08:06:05 UTC
Created attachment 257687 [details] [review]
Doc update.

g_locale_to_utf8() (respectively _from_) was returning a gchar* but it was not clear whether it was newly allocated (and consequently to be freed by the user) or belonging to glib.

I had to check the implementation to make sure it is indeed allocated. So I propose this minor doc update. If it is good, I can also make it a master commit.
Comment 1 Colin Walters 2013-10-19 13:09:59 UTC
Tweaked the commit message a bit and pushed.