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 688411 - g_type_init() is deprecated in glib >= 2.35.0
g_type_init() is deprecated in glib >= 2.35.0
Status: RESOLVED FIXED
Product: GUPnP
Classification: Other
Component: gupnp
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-15 16:48 UTC by Juan A. Suarez Romero
Modified: 2012-11-30 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove g_type_init() call (4.60 KB, patch)
2012-11-15 16:49 UTC, Juan A. Suarez Romero
none Details | Review
Alternative to previous patch (4.37 KB, patch)
2012-11-15 16:51 UTC, Juan A. Suarez Romero
committed Details | Review

Description Juan A. Suarez Romero 2012-11-15 16:48:12 UTC
So it shouldn't be invoked in new code.
Comment 1 Juan A. Suarez Romero 2012-11-15 16:49:54 UTC
Created attachment 229067 [details] [review]
Remove g_type_init() call

This patch increase glib requirement to 2.35.0 or greater, and removes g_type_init() call in the examples
Comment 2 Juan A. Suarez Romero 2012-11-15 16:51:04 UTC
Created attachment 229068 [details] [review]
Alternative to previous patch

This version keeps the glib >= 2.24.0 requirement, and invokes g_type_init() only for versions older than 2.35.0.