[gnome-shell] accessibility.js: Fix use of non-existent gconf_client_get_value()
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] accessibility.js: Fix use of non-existent gconf_client_get_value()
- Date: Thu, 16 Sep 2010 19:35:31 +0000 (UTC)
commit 0cb89532323085a67089b69912c8207467f9624a
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu Sep 16 15:25:23 2010 -0400
accessibility.js: Fix use of non-existent gconf_client_get_value()
gconf_client_get_value() doesn't exist; apparently
gconf_client_get_float() was meant instead.
js/ui/status/accessibility.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js
index 4644f9f..292ebdb 100644
--- a/js/ui/status/accessibility.js
+++ b/js/ui/status/accessibility.js
@@ -213,7 +213,7 @@ ATIndicator.prototype = {
let active = on_get();
if (!active)
// setting was modified manually, update it
- first_value = client.get_value(KEY_FONT_DPI);
+ first_value = client.get_float(KEY_FONT_DPI);
widget.setToggleState(on_get());
});
return widget;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]