[gtk+] Clarify GtkSettings documentation



commit c8a6b8786abedb5e16fdd978f982c876e8074e6e
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 19 20:47:05 2014 -0400

    Clarify GtkSettings documentation
    
    Just recommend g_object_set to override settings. The
    gtk_settings_set_..._property functions don't really add
    any value.

 gtk/gtksettings.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 2cb6a81..ab720d8 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -80,13 +80,13 @@
  * for settings by installing a `settings.ini` file
  * next to their `gtk.css` file.
  *
- * Applications can override system-wide settings with
- * gtk_settings_set_string_property(), gtk_settings_set_long_property(),
- * etc. This should be restricted to special cases though; GtkSettings are
- * not meant as an application configuration facility. When doing so, you
- * need to be aware that settings that are specific to individual widgets
- * may not be available before the widget type has been realized at least
- * once. The following example demonstrates a way to do this:
+ * Applications can override system-wide settings by setting the property
+ * of the GtkSettings object with g_object_set(). This should be restricted
+ * to special cases though; GtkSettings are not meant as an application
+ * configuration facility. When doing so, you need to be aware that settings
+ * that are specific to individual widgets may not be available before the
+ * widget type has been realized at least once. The following example
+ * demonstrates a way to do this:
  * |[<!-- language="C" -->
  *   gtk_init (&argc, &argv);
  *


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