at-spi r1147 - in trunk: . atk-bridge
- From: liyuan svn gnome org
- To: svn-commits-list gnome org
- Subject: at-spi r1147 - in trunk: . atk-bridge
- Date: Thu, 8 Jan 2009 08:41:13 +0000 (UTC)
Author: liyuan
Date: Thu Jan 8 08:41:13 2009
New Revision: 1147
URL: http://svn.gnome.org/viewvc/at-spi?rev=1147&view=rev
Log:
2009-01-08 Li Yuan <li yuan sun com>
* atk-bridge/bridge.c: (spi_atk_bridge_toplevel_removed),
(reinit_register_vars):
Bug #566999. Unset registry to avoid crash.
* configure.in:
Bug #566998. Fix build error on Solaris.
Modified:
trunk/ChangeLog
trunk/atk-bridge/bridge.c
trunk/configure.in
Modified: trunk/atk-bridge/bridge.c
==============================================================================
--- trunk/atk-bridge/bridge.c (original)
+++ trunk/atk-bridge/bridge.c Thu Jan 8 08:41:13 2009
@@ -135,6 +135,7 @@
gpointer data);
static void spi_atk_tidy_windows (void);
static void deregister_application (BonoboObject *app);
+static void reinit_register_vars (void);
/* For automatic libgnome init */
extern void gnome_accessibility_module_init (void);
@@ -314,6 +315,7 @@
if (toplevels == 0)
{
deregister_application (app);
+ reinit_register_vars ();
}
if (toplevels < 0)
{
@@ -1349,6 +1351,14 @@
}
static void
+reinit_register_vars (void)
+{
+ registry = CORBA_OBJECT_NIL;
+ device_event_controller = CORBA_OBJECT_NIL;
+ this_app = NULL;
+}
+
+static void
spi_atk_bridge_init_base (CORBA_any *any, AtkObject *obj,
Accessibility_Application *app, Accessibility_Role *role,
CORBA_string *name)
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Thu Jan 8 08:41:13 2009
@@ -110,6 +110,9 @@
gtk+-2.0 >= req_ver_gtk
gail >= req_ver_gail
])
+
+AC_CHECK_LIB(socket, connect, TESTS_LIBS="$TESTS_LIBS -lsocket")
+
AC_SUBST(TESTS_LIBS)
AC_SUBST(TESTS_CFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]