From 5c60b3cbd3708d4562b4625c5c155e08269545e6 Mon Sep 17 00:00:00 2001 From: billh Date: Mon, 4 Feb 2002 19:49:49 +0000 Subject: [PATCH] Incremented version number; removed use of deprecated API from regression test. git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@234 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- ChangeLog | 9 +++++++++ atk-bridge/bridge.c | 12 ++++++++---- configure.in | 3 +-- test/test-simple.c | 4 ++-- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6af4e12a..37acf36c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2002-02-04 Bill Haneman + + * configure.in: + Incremented revision. + + * test/test-simple.c: + Replaced use of deprecated g_main_iteration with + g_main_context_iteration. + 2002-01-28 Padraig O'Briain * configure.in: diff --git a/atk-bridge/bridge.c b/atk-bridge/bridge.c index 5c285b11..9779cd83 100644 --- a/atk-bridge/bridge.c +++ b/atk-bridge/bridge.c @@ -53,10 +53,7 @@ static gboolean spi_atk_bridge_signal_listener (GSignalInvocationHint *s static gint spi_atk_bridge_key_listener (AtkKeyEventStruct *event, gpointer data); -/* - * These exported symbols are hooked by gnome-program - * to provide automatic module initialization and shutdown. - */ +/* For automatic libgnome init */ extern void gnome_accessibility_module_init (void); extern void gnome_accessibility_module_shutdown (void); @@ -66,6 +63,13 @@ static guint atk_bridge_key_event_listener_id = 0; static guint idle_init_id = 0; static GArray *listener_ids = NULL; +/* + * These exported symbols are hooked by gnome-program + * to provide automatic module initialization and shutdown. + */ +extern void gnome_accessibility_module_init (void); +extern void gnome_accessibility_module_shutdown (void); + int gtk_module_init (gint *argc, gchar **argv[]) { diff --git a/configure.in b/configure.in index 428442fa..d17d0b0c 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ AC_INIT(idl/Accessibility.idl) AT_SPI_MAJOR_VERSION=0 AT_SPI_MINOR_VERSION=0 -AT_SPI_MICRO_VERSION=6 +AT_SPI_MICRO_VERSION=7 AT_SPI_INTERFACE_AGE=0 AT_SPI_BINARY_AGE=0 AT_SPI_VERSION="$AT_SPI_MAJOR_VERSION.$AT_SPI_MINOR_VERSION.$AT_SPI_MICRO_VERSION" @@ -167,7 +167,6 @@ libspi-1.0.pc cspi-1.0.pc docs/Makefile docs/reference/Makefile -docs/reference/idl/Makefile docs/reference/cspi/Makefile idl/Makefile libspi/Makefile diff --git a/test/test-simple.c b/test/test-simple.c index f0048a65..c99a61b5 100644 --- a/test/test-simple.c +++ b/test/test-simple.c @@ -701,10 +701,10 @@ test_keylisteners (void) memset (&stroke, 0, sizeof (AccessibleKeystroke)); g_assert (SPI_generateKeyboardEvent ('=', NULL, SPI_KEY_SYM)); while (!(stroke.type & SPI_KEY_PRESSED)) - g_main_iteration (TRUE); + g_main_context_iteration (NULL, TRUE); fprintf (stderr, "p"); while (!(stroke.type & SPI_KEY_RELEASED)) - g_main_iteration (TRUE); + g_main_context_iteration (NULL, TRUE); fprintf (stderr, "r "); } -- 2.34.1