[devhelp] Settings: improve class description



commit 779bb5e8254c398ba12d372ca8a8bf75e482311a
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Jun 16 18:46:37 2018 +0200

    Settings: improve class description
    
    Binding the writability of the key to the "sensitive" property of a
    widget is just an example and the common use-case, but knowing the
    writability of the key can be used in other ways.

 devhelp/dh-settings.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/devhelp/dh-settings.c b/devhelp/dh-settings.c
index f71b6818..873f55fa 100644
--- a/devhelp/dh-settings.c
+++ b/devhelp/dh-settings.c
@@ -41,8 +41,8 @@
  * the #DhSettings wrapper API instead. So instead of using g_settings_bind(),
  * you should use g_object_bind_property() with a #DhSettings property as the
  * source. This has the small drawback that the writability of the #GSettings
- * key cannot be bound to the "sensitive" property of the preferences widget
- * (see g_settings_bind()), if this feature is really wanted the #DhSettings API
+ * keys are not exposed, it is assumed that all keys are writable; if knowing
+ * the writability of the #GSettings keys is really wanted, the #DhSettings API
  * can be changed to expose publicly the #GSettings objects (for that purpose
  * only).
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]