[g-a-devel]Patch for at-spi
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: gnome-accessibility-devel gnome org
- Subject: [g-a-devel]Patch for at-spi
- Date: Tue, 10 Dec 2002 10:59:56 +0000 (GMT)
OK to commit?
Padraig
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/at-spi/ChangeLog,v
retrieving revision 1.267
diff -u -p -r1.267 ChangeLog
--- ChangeLog 9 Dec 2002 08:29:18 -0000 1.267
+++ ChangeLog 10 Dec 2002 10:57:45 -0000
@@ -1,3 +1,13 @@
+2002-12-10 Padraig O'Briain <padraig obriain sun com>
+
+ * cspi/spi_event.c
+ (cspi_internal_event_get_object): Use CORBA_TypeCode_Equivalent()
+ to compare two CORBA_TypeCodes.
+ (cspi_internal_event_add): Silence warning from FORTE compiler.
+
+ cspi/bonobo/cspi_bonobo-listener.h: Add function declarations to
+ avoid implicit declaration of functions.,
+
2002-12-09 Padraig O'Briain <padraig obriain sun com>
* atk-bridge/bridge.c:
Index: cspi/spi_event.c
===================================================================
RCS file: /cvs/gnome/at-spi/cspi/spi_event.c,v
retrieving revision 1.26
diff -u -p -r1.26 spi_event.c
--- cspi/spi_event.c 6 Dec 2002 17:33:32 -0000 1.26
+++ cspi/spi_event.c 10 Dec 2002 10:57:45 -0000
@@ -358,7 +358,7 @@ cspi_internal_event_get_object (const In
g_return_val_if_fail (e, NULL);
g_return_val_if_fail (e->data, NULL);
any = (CORBA_any *) e->data;
- if (any->_type == TC_CORBA_Object)
+ if (CORBA_TypeCode_equivalent (any->_type, TC_CORBA_Object, cspi_ev()))
return cspi_object_take (* (CORBA_Object *) any->_value);
else
return NULL;
@@ -535,7 +535,7 @@ cspi_internal_event_check (const Accessi
static InternalEvent *
cspi_internal_event_add (const InternalEvent *e)
{
- _cspi_event_queue = g_slist_prepend (_cspi_event_queue, e);
+ _cspi_event_queue = g_slist_prepend (_cspi_event_queue, (gpointer) e);
return (InternalEvent *) e;
}
Index: cspi/bonobo/cspi-bonobo-listener.h
===================================================================
RCS file: /cvs/gnome/at-spi/cspi/bonobo/cspi-bonobo-listener.h,v
retrieving revision 1.8
diff -u -p -r1.8 cspi-bonobo-listener.h
--- cspi/bonobo/cspi-bonobo-listener.h 17 Nov 2002 13:53:54 -0000 1.8
+++ cspi/bonobo/cspi-bonobo-listener.h 10 Dec 2002 10:57:45 -0000
@@ -58,6 +58,13 @@ typedef SpiDeviceListenerClass CSpiDevic
GType cspi_device_listener_get_type (void);
gpointer cspi_device_listener_new (void);
+void cspi_device_listener_add_cb (AccessibleDeviceListener *al,
+ AccessibleDeviceListenerCB callback,
+ void *user_data);
+void cspi_device_listener_remove_cb (AccessibleDeviceListener *al,
+ AccessibleDeviceListenerCB callback);
+void cspi_device_listener_unref (AccessibleDeviceListener *listener);
+
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]