(entry->name == NULL || !strcmp (name, entry->name)) &&
(entry->detail == NULL || !strcmp (detail, entry->detail)))
{
- entry->callback (entry->user_data, e);
+ entry->callback (e, entry->user_data);
}
}
if (detail) g_free (detail);
dbus_int32_t detail1, detail2;
char *p;
+ memset (&e, 0, sizeof (e));
+
if (category)
{
category = g_utf8_strrchr (category, -1, '.');
}
e.type = converted_type;
e.source = _atspi_ref_accessible (dbus_message_get_sender(message), dbus_message_get_path(message));
+
dbus_message_iter_recurse (&iter, &iter_variant);
switch (dbus_message_iter_get_arg_type (&iter_variant))
{
if (demarshal_rect (&iter_variant, &rect))
{
g_value_init (&e.any, ATSPI_TYPE_RECT);
- g_value_set_instance (&e.any, &rect);
+ g_value_set_boxed (&e.any, &rect);
}
else
{