From 05aaab72aefd873ead62388b8dc855e028af444f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20R=C3=B6jfors?= Date: Tue, 16 Apr 2019 08:09:26 +0200 Subject: [PATCH] gprs: Always store RoamingAllowed as a boolean. In one instance it was stored as boolean and another as int. Since its always parsed as a boolean and it is a boolean, always store it as boolean. --- src/gprs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gprs.c b/src/gprs.c index d432c9fd..148cbc97 100644 --- a/src/gprs.c +++ b/src/gprs.c @@ -1793,7 +1793,7 @@ static DBusMessage *gprs_set_property(DBusConnection *conn, gprs->roaming_allowed = value; if (gprs->settings) { - g_key_file_set_integer(gprs->settings, SETTINGS_GROUP, + g_key_file_set_boolean(gprs->settings, SETTINGS_GROUP, "RoamingAllowed", gprs->roaming_allowed); storage_sync(gprs->imsi, SETTINGS_STORE,