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 666145 - Doc could be more explicite that g_thread_init calls can be droped
Doc could be more explicite that g_thread_init calls can be droped
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gthread
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-12-14 09:55 UTC by Xavier Claessens
Modified: 2011-12-14 12:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add an explicit deprecation note to g_thread_init (1.01 KB, patch)
2011-12-14 12:16 UTC, Matthias Clasen
committed Details | Review

Description Xavier Claessens 2011-12-14 09:55:40 UTC
The doc for g_thread_init() in glib 2.31.x says:

"Since version 2.32, GLib does not support custom thread implementations anymore and the vtable parameter is ignored and you should pass NULL."

But it is not only about its args, the whole call is now useless. So I suggest adding a note that since glib 2.32, every calls to that function can be simply removed.
Comment 1 Matthias Clasen 2011-12-14 12:16:52 UTC
The following fix has been pushed:
edfab83 Add an explicit deprecation note to g_thread_init
Comment 2 Matthias Clasen 2011-12-14 12:16:54 UTC
Created attachment 203447 [details] [review]
Add an explicit deprecation note to g_thread_init