GError **error)
{
gchar *retval = NULL;
+ dbus_int32_t d_i = offset;
g_return_val_if_fail (obj != NULL, NULL);
- _atspi_dbus_call (obj, atspi_interface_text, "GetAttributeValue", error, "i=>s", offset, &retval);
+ _atspi_dbus_call (obj, atspi_interface_text, "GetAttributeValue", error, "is=>s", d_i, (const gchar *)attribute_value, &retval);
+
+ if (!retval)
+ retval = g_strdup ("");
return retval;
}
string attribute_key;
} reply {
string attribute_value;
- int32 start_offset;
- int32 end_offset;
- boolean defined;
}
/* Deprecated in favor of GetAttributeRun. */
" <arg direction=\"in\" name=\"offset\" type=\"i\" />"
" <arg direction=\"in\" name=\"attributeName\" type=\"s\" />"
" <arg direction=\"out\" type=\"s\" />"
-" <arg direction=\"out\" name=\"startOffset\" type=\"i\" />"
-" <arg direction=\"out\" name=\"endOffset\" type=\"i\" />"
-" <arg direction=\"out\" name=\"defined\" type=\"b\" />"
" </method>"
""
" <method name=\"GetAttributes\">"
<arg direction="in" name="offset" type="i"/>
<arg direction="in" name="attributeName" type="s"/>
<arg direction="out" type="s"/>
- <arg direction="out" name="startOffset" type="i"/>
- <arg direction="out" name="endOffset" type="i"/>
- <arg direction="out" name="defined" type="b"/>
</method>
<method name="GetAttributes">