* cspi/spi-private.h: Add declaration for _cspi_exceptoin_throw
* cspi/spi_accessible.c (cspi_init_relation_type_table): Add call
to return a value.
* cspi/spi_event.c: (AccessibleEvent_unref); Add casts to gfree
arguments.
* cspi/spi_main.c (SPI_Exception_getSourceType); Return the correct
type for unspecified exception.
* cspi_streamablecontect): Add include of string.h for memcpy.
(stream_release): Correct call to bonobo_object_release_unref
(stream_cache_item_free): Correct call to bonobo_object_release_unref
* cspi/bonobo/spi-bonobo.c: (cspi_check_event): Add cast to second
argument of _cspi_expection_throw.
* libspi/hyperlink.c: Add include of libspi/action.h:
(spi_hyperlink_new): Cast argument to spi_action_interface_new.
* libspi/streamablecontent.c: add include of libspi/component.h.
* regisrtyd/deviceeventcontroller.c:
(spi_dec_translate_mask): Removed unused variable priv.
(dec_synth_keysym): Initialize lock_mods to avoid compilker warning/
* registryd/registry.c:
(registry_filter_event): Remove unused variable queue_is-empty.
(impl_registry_notify_event): Use correct modifier in fprintf call.
This fixes compiler warnings reported in bug #120220.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@528
e2bd861d-eb25-0410-b326-
f6ed22b6b98c
err = bonobo_exception_get_text (ev);
- if (!_cspi_exception_throw (ev, error_string)) {
+ if (!_cspi_exception_throw (ev, (char *) error_string)) {
fprintf (stderr, "Warning: AT-SPI error: %s: %s\n",
error_string, err);
}
#include <config.h>
#include <stdio.h>
#include <libspi/hyperlink.h>
+#include <libspi/action.h>
#include <libspi/accessible.h>
/* Static function declarations */
if (ATK_IS_ACTION (object))
{
bonobo_object_add_interface (bonobo_object (new_hyperlink),
- BONOBO_OBJECT (spi_action_interface_new (object)));
+ BONOBO_OBJECT (spi_action_interface_new (ATK_OBJECT (object))));
}
return new_hyperlink;
}
#include <config.h>
#include <stdio.h>
#include <libspi/accessible.h>
+#include <libspi/component.h>
#include <libspi/streamablecontent.h>
/* Our parent Gtk object type */
static Accessibility_ControllerEventMask
spi_dec_translate_mask (Accessibility_ControllerEventMask mask)
{
- DEControllerPrivateData *priv;
-
if (mask == SPI_KEYMASK_NUMLOCK) {
mask = _numlock_physical_mask;
}
modifiers = dec_get_modifier_state (controller);
/* side-effect; we may unset mousebutton modifiers here! */
+ lock_mods = 0;
if (synth_mods != modifiers) {
lock_mods = synth_mods & ~modifiers;
dec_lock_modifiers (controller, lock_mods);
registry_filter_event (SpiRegistry *registry, NotifyContext *ctx,
CORBA_Environment *ev)
{
- gboolean queue_is_empty = FALSE;
g_assert (ctx != NULL);
/* case #1 is not yet used */
if (ctx.etype.type_cat != ETYPE_MOUSE)
{
fprintf (stderr, "emit! %s level: %d\n", ctx.etype.event_name, level);
- fprintf (stderr, "emit! %p %p\n", ctx.e_out, ctx.e_out.type);
+ fprintf (stderr, "emit! %p %x\n", ctx.e_out, ctx.e_out.type);
}
#endif
registry_emit_event (registry, &ctx);