[gtk+] settings Deprecate properties



commit 7bd7bcec0d70cf644f1d9efece8f4864859517f4
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jun 26 15:04:24 2013 +0200

    settings Deprecate properties
    
    Deprecate the properties that were brought back from the dead in the
    last patch.

 gtk/gtksettings.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 9f44d99..4cf2aca 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -612,6 +612,11 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                              NULL);
   g_assert (result == PROP_ALTERNATIVE_SORT_ARROWS);
 
+  /**
+   * GtkSettings:gtk-show-input-method-menu:
+   *
+   * Deprecated: 3.10: This setting is ignored.
+   */
   result = settings_install_property_parser (class,
                                              g_param_spec_boolean ("gtk-show-input-method-menu",
                                                                    P_("Show the 'Input Methods' menu"),
@@ -621,6 +626,11 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                              NULL);
   g_assert (result == PROP_SHOW_INPUT_METHOD_MENU);
 
+  /**
+   * GtkSettings:gtk-show-unicode-menu:
+   *
+   * Deprecated: 3.10: This setting is ignored.
+   */
   result = settings_install_property_parser (class,
                                              g_param_spec_boolean ("gtk-show-unicode-menu",
                                                                    P_("Show the 'Insert Unicode Control 
Character' menu"),
@@ -988,7 +998,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * This also can be a colon-separated list of input methods, which GTK+
    * will try in turn until it finds one available on the system.
    *
-   * See #GtkIMContext and see the #GtkSettings:gtk-show-input-method-menu property.
+   * See #GtkIMContext.
    */
   result = settings_install_property_parser (class,
                                              g_param_spec_string ("gtk-im-module",


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