From 0c27d18ab5efb721a2f02549767016c81fc6ce2c Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 2 Dec 2016 00:45:36 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require libmatekbd, libmate-desktop, marco, m-s-d >= 1.17 --- capplets/keyboard/mate-keyboard-properties-a11y.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'capplets/keyboard/mate-keyboard-properties-a11y.c') diff --git a/capplets/keyboard/mate-keyboard-properties-a11y.c b/capplets/keyboard/mate-keyboard-properties-a11y.c index 7a3b566e..23aea9e1 100644 --- a/capplets/keyboard/mate-keyboard-properties-a11y.c +++ b/capplets/keyboard/mate-keyboard-properties-a11y.c @@ -320,19 +320,4 @@ setup_a11y_tabs (GtkBuilder *dialog) gtk_range_get_adjustment (GTK_RANGE (WID ("mousekeys_init_delay_slide"))), "value", G_SETTINGS_BIND_DEFAULT); - -#if !GTK_CHECK_VERSION (3, 0, 0) - const char *range_names[] = { - "slowkeys_delay_slide", - "bouncekeys_delay_slide", - "mousekeys_accel_time_slide", - "mousekeys_max_speed_slide", - "mousekeys_init_delay_slide" - }; - - int i; - for (i = 0; i < 5; ++i) { - gtk_range_set_update_policy (GTK_RANGE (WID (range_names[i])), GTK_UPDATE_DISCONTINUOUS); - } -#endif } -- cgit v1.2.1