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 661244 - Incorrect glib2 dependency version
Incorrect glib2 dependency version
Status: RESOLVED FIXED
Product: json-glib
Classification: Core
Component: Core
0.14.x
Other Linux
: Normal normal
: ---
Assigned To: json-glib-maint
json-glib-maint
Depends on:
Blocks:
 
 
Reported: 2011-10-08 01:40 UTC by Artem Egorkine
Modified: 2012-03-13 22:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Conditionally use g_list_free_full() (1.86 KB, patch)
2011-10-17 10:01 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Artem Egorkine 2011-10-08 01:40:43 UTC
Json-Glib 0.14.0 advertises that the minimum required glib2 version is 2.26, however it uses "g_list_free_full" which is only available since version 2.28.
Comment 1 Emmanuele Bassi (:ebassi) 2011-10-17 10:01:56 UTC
Created attachment 199179 [details] [review]
Conditionally use g_list_free_full()

JSON-GLib depends on GLib ≥ 2.26, and g_list_free_full() was introduced
in GLib 2.28, so we have to check against the GLib version if we want to
use it.
Comment 2 Emmanuele Bassi (:ebassi) 2011-10-17 10:05:32 UTC
Attachment 199179 [details] pushed as e95d570 - Conditionally use g_list_free_full()
Comment 3 André Klapper 2012-03-13 22:08:46 UTC
[Fixing Default QA assignee for json-glib - see 613232#c1. Sorry for bugmail noise.]