diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-09-19 19:37:52 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-20 18:35:34 +0200 |
commit | 81ff751adc98a1b100445bcd52f68206f582abb2 (patch) | |
tree | 592205f133f5debefac268484565eb1d56e6b5ee /mate-base | |
parent | mate-base/mate-control-center: remove unused patch (diff) | |
download | gentoo-81ff751adc98a1b100445bcd52f68206f582abb2.tar.gz gentoo-81ff751adc98a1b100445bcd52f68206f582abb2.tar.bz2 gentoo-81ff751adc98a1b100445bcd52f68206f582abb2.zip |
mate-base/mate-settings-daemon: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'mate-base')
-rw-r--r-- | mate-base/mate-settings-daemon/files/mate-settings-daemon-1.26.0-fix-buid-with-clang16.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.26.0-fix-buid-with-clang16.patch b/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.26.0-fix-buid-with-clang16.patch deleted file mode 100644 index cf91dbc6412e..000000000000 --- a/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.26.0-fix-buid-with-clang16.patch +++ /dev/null @@ -1,45 +0,0 @@ -https://github.com/mate-desktop/mate-settings-daemon/commit/42e91f2805c508317b4d26166cb3db332dd313e8.patch -From: Colomban Wendling <cwendling@hypra.fr> -Date: Tue, 27 Jun 2023 12:21:16 +0200 -Subject: [PATCH] a11y-keyboard-atspi: Fix memory leak - -Fix fairly large memory leak when beeping on keys while caps lock is -enabled. The libatspi2 docs and API were quite misleading, so I -overlooked the fact the event parameter should be freed in the -callback. - -This changes the constness of the callback argument, which is new in -libatspi2 2.40 -- yet the actual behavior didn't change, only the -qualifier was removed, see [1]. -This might however bring up a compiler warning when building against -libatspi2 < 2.40; but on the other hand it fixed build with -clang >= 16, see #399. As it is unlikely to build with clang >= 16 -and libatspi2 < 2.40, I think it's a good compromise. - -[1] https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/7dfb0b7fc2d1710ef7fad54f910fa4c6a5e3af17 ---- a/plugins/a11y-keyboard/msd-a11y-keyboard-atspi.c -+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-atspi.c -@@ -55,16 +55,16 @@ msd_a11y_keyboard_atspi_class_init (MsdA11yKeyboardAtspiClass *klass) - } - - static gboolean --on_key_press_event (const AtspiDeviceEvent *event, -- void *user_data G_GNUC_UNUSED) -+on_key_press_event (AtspiDeviceEvent *event, -+ void *user_data G_GNUC_UNUSED) - { - /* don't ring on capslock itself, that's taken care of by togglekeys - * if the user want it. */ -- if (event->id == GDK_KEY_Caps_Lock) -- return FALSE; -- -- gdk_display_beep (gdk_display_get_default ()); -+ if (event->id != GDK_KEY_Caps_Lock) -+ gdk_display_beep (gdk_display_get_default ()); - -+ /* cast the possible erroneous const away with atspi < 2.40 */ -+ g_boxed_free (ATSPI_TYPE_DEVICE_EVENT, (gpointer) event); - return FALSE; - } - - |