aboutsummaryrefslogtreecommitdiff
path: root/plugins/altair/tests/test-modem-helpers-altair-lte.c
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-02-02 16:45:01 -0800
committerAleksander Morgado <aleksander@aleksander.es>2017-02-03 10:05:14 +0100
commit31655bb5a5e2c806cee23b9ee41c2e663c5decbd (patch)
tree65df1333c681dceac4ad6424aa09cc6244631b20 /plugins/altair/tests/test-modem-helpers-altair-lte.c
parentf20f2d04282f673cebc2ce9262c5b10adab82fa2 (diff)
glib: remove invocations of g_type_init()
g_type_init() has been deprecated (and also marked with the attribute 'deprecated') since glib 2.36 as the type system is automatically initialized. Since the minimum version of glib required by ModemManager is 2.36, calling g_type_init() isn't necessarily in the ModemManager code.
Diffstat (limited to 'plugins/altair/tests/test-modem-helpers-altair-lte.c')
-rw-r--r--plugins/altair/tests/test-modem-helpers-altair-lte.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/altair/tests/test-modem-helpers-altair-lte.c b/plugins/altair/tests/test-modem-helpers-altair-lte.c
index d83d3e50..4d038ce1 100644
--- a/plugins/altair/tests/test-modem-helpers-altair-lte.c
+++ b/plugins/altair/tests/test-modem-helpers-altair-lte.c
@@ -142,7 +142,6 @@ int main (int argc, char **argv)
{
setlocale (LC_ALL, "");
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/MM/altair/parse_bands", test_parse_bands);