forked from AuroraMiddleware/gtk
GtkSettings: fully undeprecate blink settings
We decided in f8412eca34
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
This commit is contained in:
parent
52efbb11ec
commit
196b9f8eea
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user