r35567 - in /desktop/unstable/clutter-1.0/debian: changelog patches/01_a11y-atk_add_key_event_listener-listener_id-return-value.patch patches/02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch patches/series
jordi at users.alioth.debian.org
jordi at users.alioth.debian.org
Fri Aug 3 21:20:34 UTC 2012
Author: jordi
Date: Fri Aug 3 21:20:34 2012
New Revision: 35567
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35567
Log:
01_a11y-atk_add_key_event_listener-listener_id-return-value.patch,
02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch:
add patches from git to fix duplicate accessible key events.
Added:
desktop/unstable/clutter-1.0/debian/patches/01_a11y-atk_add_key_event_listener-listener_id-return-value.patch
desktop/unstable/clutter-1.0/debian/patches/02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch
Modified:
desktop/unstable/clutter-1.0/debian/changelog
desktop/unstable/clutter-1.0/debian/patches/series
Modified: desktop/unstable/clutter-1.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/clutter-1.0/debian/changelog?rev=35567&op=diff
==============================================================================
--- desktop/unstable/clutter-1.0/debian/changelog [utf-8] (original)
+++ desktop/unstable/clutter-1.0/debian/changelog [utf-8] Fri Aug 3 21:20:34 2012
@@ -1,6 +1,13 @@
clutter-1.0 (1.10.8-2) UNRELEASED; urgency=low
+ [ Josselin Mouette ]
* Add missing epoch on libxcomposite-dev build-dependency.
+
+
+ [ Jordi Mallach ]
+ * 01_a11y-atk_add_key_event_listener-listener_id-return-value.patch,
+ 02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch:
+ add patches from git to fix duplicate accessible key events.
-- Josselin Mouette <joss at debian.org> Fri, 06 Jul 2012 11:40:27 +0200
Added: desktop/unstable/clutter-1.0/debian/patches/01_a11y-atk_add_key_event_listener-listener_id-return-value.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/clutter-1.0/debian/patches/01_a11y-atk_add_key_event_listener-listener_id-return-value.patch?rev=35567&op=file
==============================================================================
--- desktop/unstable/clutter-1.0/debian/patches/01_a11y-atk_add_key_event_listener-listener_id-return-value.patch (added)
+++ desktop/unstable/clutter-1.0/debian/patches/01_a11y-atk_add_key_event_listener-listener_id-return-value.patch [utf-8] Fri Aug 3 21:20:34 2012
@@ -1,0 +1,25 @@
+From cafcf14e0e199df65842359d95c6595de46ad32b Mon Sep 17 00:00:00 2001
+From: Alejandro Piñeiro <apinheiro at igalia.com>
+Date: Wed, 09 May 2012 15:10:55 +0000
+Subject: a11y: atk_add_key_event_listener listener_id should not return 0 as a valid value
+
+cally_util_add_key_event_listener first id returned was 0, but as
+the documentation says, this is a reserved value for a wrong id
+
+Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675183
+---
+diff --git a/clutter/cally/cally-util.c b/clutter/cally/cally-util.c
+index 2797555..e4c90a7 100644
+--- a/clutter/cally/cally-util.c
++++ b/clutter/cally/cally-util.c
+@@ -233,7 +233,7 @@ static guint
+ cally_util_add_key_event_listener (AtkKeySnoopFunc listener,
+ gpointer data)
+ {
+- static guint key=0;
++ static guint key = 1;
+ CallyKeyEventInfo *event_info = NULL;
+
+ if (!key_listener_list)
+--
+cgit v0.9.0.2
Added: desktop/unstable/clutter-1.0/debian/patches/02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/clutter-1.0/debian/patches/02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch?rev=35567&op=file
==============================================================================
--- desktop/unstable/clutter-1.0/debian/patches/02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch (added)
+++ desktop/unstable/clutter-1.0/debian/patches/02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch [utf-8] Fri Aug 3 21:20:34 2012
@@ -1,0 +1,22 @@
+From 0d4d467dd55ac23151a32e52195d47b6ab7706ca Mon Sep 17 00:00:00 2001
+From: Alejandro Piñeiro <apinheiro at igalia.com>
+Date: Mon, 18 Jun 2012 09:30:25 +0000
+Subject: a11y: Remove key event listener hash table if no longer required
+
+https://bugzilla.gnome.org/show_bug.cgi?id=675183
+---
+diff --git a/clutter/cally/cally-util.c b/clutter/cally/cally-util.c
+index e4c90a7..1fcbf83 100644
+--- a/clutter/cally/cally-util.c
++++ b/clutter/cally/cally-util.c
+@@ -261,6 +261,8 @@ cally_util_remove_key_event_listener (guint remove_listener)
+
+ if (g_hash_table_size (key_listener_list) == 0)
+ {
++ g_hash_table_destroy (key_listener_list);
++ key_listener_list = NULL;
+ cally_util_simulate_snooper_remove ();
+ }
+ }
+--
+cgit v0.9.0.2
Modified: desktop/unstable/clutter-1.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/clutter-1.0/debian/patches/series?rev=35567&op=diff
==============================================================================
--- desktop/unstable/clutter-1.0/debian/patches/series [utf-8] (original)
+++ desktop/unstable/clutter-1.0/debian/patches/series [utf-8] Fri Aug 3 21:20:34 2012
@@ -1,1 +1,3 @@
fix_test_data_path.patch
+01_a11y-atk_add_key_event_listener-listener_id-return-value.patch
+02_a11y-Remove-key-event-listener-hash-table-if-no-longer-required.patch
More information about the pkg-gnome-commits
mailing list