Bug 99812 - Compile warnings about deprecated call to g_type_init()
Summary: Compile warnings about deprecated call to g_type_init()
Status: RESOLVED FIXED
Alias: None
Product: libfprint
Classification: Unclassified
Component: fprintd (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: libfprint-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-14 12:10 UTC by Christian Kellner
Modified: 2017-02-14 16:19 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Only call g_type_init() when using an old glib (3.04 KB, patch)
2017-02-14 12:10 UTC, Christian Kellner
Details | Splinter Review
tests: call g_type_init only if using an old glib (1.92 KB, patch)
2017-02-14 14:17 UTC, Christian Kellner
Details | Splinter Review
main: call g_type_init only if using an old glib (932 bytes, patch)
2017-02-14 14:17 UTC, Christian Kellner
Details | Splinter Review
pam: Only call g_type_init when using an old glib (1004 bytes, patch)
2017-02-14 14:17 UTC, Christian Kellner
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.