Bug 99812

Summary: Compile warnings about deprecated call to g_type_init()
Product: libfprint Reporter: Christian Kellner <gicmo>
Component: fprintdAssignee: libfprint-bugs
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bugzilla, gicmo
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Only call g_type_init() when using an old glib
tests: call g_type_init only if using an old glib
main: call g_type_init only if using an old glib
pam: Only call g_type_init when using an old glib

Description Christian Kellner 2017-02-14 12:10:55 UTC
Calling g_type_init() is not needed anymore and deprecated since glib version 2.36 and this leads to compiler warnings.
Comment 1 Christian Kellner 2017-02-14 12:10:58 UTC
Created attachment 129591 [details] [review]
Only call g_type_init() when using an old glib

Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
Comment 2 Bastien Nocera 2017-02-14 13:07:23 UTC
Comment on attachment 129591 [details] [review]
Only call g_type_init() when using an old glib

Review of attachment 129591 [details] [review]:
-----------------------------------------------------------------

This needs splitting up for the different directories. See the existing log for the commit subject prefixes.
Comment 3 Christian Kellner 2017-02-14 14:17:15 UTC
Created attachment 129596 [details] [review]
tests: call g_type_init only if using an old glib

Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
Comment 4 Christian Kellner 2017-02-14 14:17:25 UTC
Created attachment 129597 [details] [review]
main: call g_type_init only if using an old glib

Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
Comment 5 Christian Kellner 2017-02-14 14:17:29 UTC
Created attachment 129598 [details] [review]
pam: Only call g_type_init when using an old glib

Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
Comment 6 Bastien Nocera 2017-02-14 16:19:50 UTC
Attachment 129596 [details] pushed as 06ea385 - tests: call g_type_init only if using an old glib
Attachment 129597 [details] pushed as 3d2d73d - main: call g_type_init only if using an old glib
Attachment 129598 [details] pushed as da87d1d - pam: Only call g_type_init when using an old glib

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.