diff options
Diffstat (limited to 'src/accounts-service-user.vala')
-rw-r--r-- | src/accounts-service-user.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala index 8187d73..2e59db3 100644 --- a/src/accounts-service-user.vala +++ b/src/accounts-service-user.vala @@ -164,10 +164,10 @@ public class AccountsServiceUser : Object { this.privacyproxy = Bus.get_proxy.end (res); (this.privacyproxy as DBusProxy).g_properties_changed.connect((proxy, changed, invalid) => { - var welcomeval = changed.lookup("MessagesWelcomeScreen", "b", null); - if (welcomeval) { + var welcomeval = changed.lookup_value("MessagesWelcomeScreen", new VariantType("b")); + if (welcomeval != null) { debug("Messages on welcome screen changed"); - this.showDataOnGreeter = welcomeval; + this.showDataOnGreeter = welcomeval.get_boolean(); } }); |