(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.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@382
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
+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:
(spi_dec_button_update_and_emit):
Fixed type in mask bit operations; fix for #99799.
->>>>>>> 1.266
2002-12-02 Bill Haneman <bill.haneman@sun.com>
Removed some of the more dangerous workarounds from
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
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_equal (any->_type, TC_CORBA_Object, cspi_ev()))
return cspi_object_take (* (CORBA_Object *) any->_value);
else
return NULL;
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;
}