From 8268c7ee453fb5219dc7d4fe991fbd7de08a2c66 Mon Sep 17 00:00:00 2001 From: billh Date: Sun, 2 Dec 2001 12:32:03 +0000 Subject: [PATCH] Removed obsolete (and unused) code from spi_registry.c (X event loop for passive key grabs). git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@127 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 8 +++++++- cspi/spi_registry.c | 22 ---------------------- 2 files changed, 7 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f61c06..1ce4105 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,15 @@ +2001-12-02 Bill Haneman + + * cspi/spi_registry.c: + Removed obsolete X event loop for passive keygrabs (which now + lives in libspi). + 2001-11-28 Bill Haneman * docs/reference/cspi: Included docs for SPI_freeString in generated documentation. - * cspi/spi-util.c: + * cspi/spi-util.c:c Renamed spi_freeString to SPI_freeString, for consistency. Added documentation for this function. diff --git a/cspi/spi_registry.c b/cspi/spi_registry.c index 2a6eb34..b3ba478 100644 --- a/cspi/spi_registry.c +++ b/cspi/spi_registry.c @@ -223,28 +223,6 @@ getDesktopList (Accessible **list) return 0; } -#if 0 -static gboolean -key_event_source_func (void *p) -{ - GList *listeners = (GList *)p; - XEvent *x_event = g_new0 (XEvent, 1); - while (XPending (display)) - { - XNextEvent (display, x_event); - while (listeners) - { - /* if the listener mask matches, notify it*/ - if (1) - { - ; - } - } - } - return TRUE; -} -#endif - /** * registerAccessibleKeystrokeListener: * @listener: a pointer to the #AccessibleKeystrokeListener for which -- 2.7.4