[gtk+] GtkSettings: fully undeprecate blink settings



commit 196b9f8eea3f61be7635866b9d44118c5e30349f
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 3 08:34:02 2014 -0400

    GtkSettings: fully undeprecate blink settings
    
    We decided in f8412eca34be6e2e655ad3e09bd97fa2bdcbdae0 that
    we still need to react to these for a11y reasons, but left
    the (then) harmless property deprecation in place. Now, the
    deprecation causes runtime warnings for merely reading the
    property, so drop it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732667

 gtk/gtksettings.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 26e8be7..361334a 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -393,7 +393,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                                                    P_("Cursor Blink"),
                                                                    P_("Whether the cursor should blink"),
                                                                    TRUE,
-                                                                   GTK_PARAM_READWRITE | G_PARAM_DEPRECATED),
+                                                                   GTK_PARAM_READWRITE ),
                                              NULL);
   g_assert (result == PROP_CURSOR_BLINK);
   result = settings_install_property_parser (class,
@@ -401,7 +401,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                                                P_("Cursor Blink Time"),
                                                                P_("Length of the cursor blink cycle, in 
milliseconds"),
                                                                100, G_MAXINT, 1200,
-                                                               GTK_PARAM_READWRITE | G_PARAM_DEPRECATED),
+                                                               GTK_PARAM_READWRITE),
                                              NULL);
   g_assert (result == PROP_CURSOR_BLINK_TIME);
 
@@ -421,7 +421,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                                                P_("Cursor Blink Timeout"),
                                                                P_("Time after which the cursor stops 
blinking, in seconds"),
                                                                1, G_MAXINT, 10,
-                                                               GTK_PARAM_READWRITE | G_PARAM_DEPRECATED),
+                                                               GTK_PARAM_READWRITE),
                                              NULL);
   g_assert (result == PROP_CURSOR_BLINK_TIMEOUT);
   result = settings_install_property_parser (class,


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