1
From 025d64d20cd513c81dc88d369491f1fa555f352e Mon Sep 17 00:00:00 2001
2
From: Monsta <monsta@inbox.ru>
3
Date: Fri, 2 Jan 2015 18:18:27 +0300
4
Subject: [PATCH] a11y-keyboard: fix crash
6
fixes https://github.com/mate-desktop/mate-settings-daemon/issues/70
8
plugins/a11y-keyboard/msd-a11y-preferences-dialog.c | 18 +++++++++---------
9
1 file changed, 9 insertions(+), 9 deletions(-)
11
diff --git a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
12
index 72d42ff..675b993 100644
13
--- a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
14
+++ b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
15
@@ -458,7 +458,7 @@ on_sticky_keys_checkbutton_toggled (GtkToggleButton *button,
18
on_bounce_keys_checkbutton_toggled (GtkToggleButton *button,
19
- MsdA11yPreferencesDialog *dialog)
20
+ MsdA11yPreferencesDialog *dialog)
22
config_set_bounce_keys (dialog, gtk_toggle_button_get_active (button));
24
@@ -649,7 +649,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
25
g_signal_connect (widget,
27
G_CALLBACK (on_sticky_keys_checkbutton_toggled),
30
enabled = config_get_sticky_keys (dialog, &is_writable);
31
ui_set_sticky_keys (dialog, enabled);
33
@@ -662,7 +662,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
34
g_signal_connect (widget,
36
G_CALLBACK (on_bounce_keys_checkbutton_toggled),
39
enabled = config_get_bounce_keys (dialog, &is_writable);
40
ui_set_bounce_keys (dialog, enabled);
42
@@ -675,7 +675,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
43
g_signal_connect (widget,
45
G_CALLBACK (on_slow_keys_checkbutton_toggled),
48
enabled = config_get_slow_keys (dialog, &is_writable);
49
ui_set_slow_keys (dialog, enabled);
51
@@ -688,7 +688,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
52
g_signal_connect (widget,
54
G_CALLBACK (on_high_contrast_checkbutton_toggled),
57
enabled = config_get_high_contrast (dialog, &is_writable);
58
ui_set_high_contrast (dialog, enabled);
60
@@ -701,7 +701,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
61
g_signal_connect (widget,
63
G_CALLBACK (on_at_screen_keyboard_checkbutton_toggled),
66
enabled = config_get_at_screen_keyboard (dialog, &is_writable);
67
ui_set_at_screen_keyboard (dialog, enabled);
69
@@ -720,7 +720,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
70
g_signal_connect (widget,
72
G_CALLBACK (on_at_screen_reader_checkbutton_toggled),
75
enabled = config_get_at_screen_reader (dialog, &is_writable);
76
ui_set_at_screen_reader (dialog, enabled);
78
@@ -739,7 +739,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
79
g_signal_connect (widget,
81
G_CALLBACK (on_at_screen_magnifier_checkbutton_toggled),
84
enabled = config_get_at_screen_magnifier (dialog, &is_writable);
85
ui_set_at_screen_magnifier (dialog, enabled);
87
@@ -758,7 +758,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
88
g_signal_connect (widget,
90
G_CALLBACK (on_large_print_checkbutton_toggled),
93
enabled = config_get_large_print (&is_writable);
94
ui_set_large_print (dialog, enabled);