[mate-settings-daemon] 08/10: debian/patches: Add 0002_fix-a11y-keyboard-dialog-segfaults.patch. Fix segfaults when clicking on the checkboxes in the a11y-keybord configuration dialog. (Closes: #779916).
Mike Gabriel
sunweaver at debian.org
Tue Mar 10 17:16:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository mate-settings-daemon.
commit ec3e98a117047462ad8e1566d4e78c99a8313dbd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Mar 10 17:59:14 2015 +0100
debian/patches: Add 0002_fix-a11y-keyboard-dialog-segfaults.patch. Fix segfaults when clicking on the checkboxes in the a11y-keybord configuration dialog. (Closes: #779916).
---
.../0002_fix-a11y-keyboard-dialog-segfaults.patch | 96 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 97 insertions(+)
diff --git a/debian/patches/0002_fix-a11y-keyboard-dialog-segfaults.patch b/debian/patches/0002_fix-a11y-keyboard-dialog-segfaults.patch
new file mode 100644
index 0000000..61be59f
--- /dev/null
+++ b/debian/patches/0002_fix-a11y-keyboard-dialog-segfaults.patch
@@ -0,0 +1,96 @@
+From 025d64d20cd513c81dc88d369491f1fa555f352e Mon Sep 17 00:00:00 2001
+From: Monsta <monsta at inbox.ru>
+Date: Fri, 2 Jan 2015 18:18:27 +0300
+Subject: [PATCH] a11y-keyboard: fix crash
+
+fixes https://github.com/mate-desktop/mate-settings-daemon/issues/70
+---
+ plugins/a11y-keyboard/msd-a11y-preferences-dialog.c | 18 +++++++++---------
+ 1 file changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
+index 72d42ff..675b993 100644
+--- a/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
++++ b/plugins/a11y-keyboard/msd-a11y-preferences-dialog.c
+@@ -458,7 +458,7 @@ on_sticky_keys_checkbutton_toggled (GtkToggleButton *button,
+
+ static void
+ on_bounce_keys_checkbutton_toggled (GtkToggleButton *button,
+- MsdA11yPreferencesDialog *dialog)
++ MsdA11yPreferencesDialog *dialog)
+ {
+ config_set_bounce_keys (dialog, gtk_toggle_button_get_active (button));
+ }
+@@ -649,7 +649,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_sticky_keys_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_sticky_keys (dialog, &is_writable);
+ ui_set_sticky_keys (dialog, enabled);
+ if (! is_writable) {
+@@ -662,7 +662,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_bounce_keys_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_bounce_keys (dialog, &is_writable);
+ ui_set_bounce_keys (dialog, enabled);
+ if (! is_writable) {
+@@ -675,7 +675,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_slow_keys_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_slow_keys (dialog, &is_writable);
+ ui_set_slow_keys (dialog, enabled);
+ if (! is_writable) {
+@@ -688,7 +688,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_high_contrast_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_high_contrast (dialog, &is_writable);
+ ui_set_high_contrast (dialog, enabled);
+ if (! is_writable) {
+@@ -701,7 +701,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_at_screen_keyboard_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_at_screen_keyboard (dialog, &is_writable);
+ ui_set_at_screen_keyboard (dialog, enabled);
+ if (! is_writable) {
+@@ -720,7 +720,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_at_screen_reader_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_at_screen_reader (dialog, &is_writable);
+ ui_set_at_screen_reader (dialog, enabled);
+ if (! is_writable) {
+@@ -739,7 +739,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_at_screen_magnifier_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_at_screen_magnifier (dialog, &is_writable);
+ ui_set_at_screen_magnifier (dialog, enabled);
+ if (! is_writable) {
+@@ -758,7 +758,7 @@ setup_dialog (MsdA11yPreferencesDialog *dialog,
+ g_signal_connect (widget,
+ "toggled",
+ G_CALLBACK (on_large_print_checkbutton_toggled),
+- NULL);
++ dialog);
+ enabled = config_get_large_print (&is_writable);
+ ui_set_large_print (dialog, enabled);
+ if (! is_writable) {
+
diff --git a/debian/patches/series b/debian/patches/series
index 560fb51..911c985 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001_prefer-gcalculator-for-media-keys.patch
+0002_fix-a11y-keyboard-dialog-segfaults.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-settings-daemon.git
More information about the pkg-mate-commits
mailing list