diff options
author | Ted Gould <ted@gould.cx> | 2014-10-01 16:53:31 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2014-10-01 16:53:31 -0500 |
commit | a1043d02d1f75d86d059b1fe716ca6ac9d548ddd (patch) | |
tree | 06e1139128d7b669d29c1beafc7622b14f41fc1f | |
parent | 84fea70d4383d30bbfe640ef9a8123475f93ded8 (diff) | |
download | ayatana-indicator-sound-a1043d02d1f75d86d059b1fe716ca6ac9d548ddd.tar.gz ayatana-indicator-sound-a1043d02d1f75d86d059b1fe716ca6ac9d548ddd.tar.bz2 ayatana-indicator-sound-a1043d02d1f75d86d059b1fe716ca6ac9d548ddd.zip |
Have welcome value actually be a variant pointer.
-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(); } }); |