diff options
author | Mike Gorse <mgorse@novell.com> | 2011-01-04 12:04:12 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-01-04 12:04:12 -0600 |
commit | e1909af6050686754cd4fa43aa61859c084f6e11 (patch) | |
tree | fab874075a39b234ceab7fbe8529eca674682968 /atspi/atspi-text.c | |
parent | 50a78f9729c622b2fc38b49902ae7324e1bdb136 (diff) | |
download | at-spi2-core-e1909af6050686754cd4fa43aa61859c084f6e11.tar.gz |
Return exceptions for errors rather than printing warnings
Diffstat (limited to 'atspi/atspi-text.c')
-rw-r--r-- | atspi/atspi-text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c index 1044f1bc..01fb5394 100644 --- a/atspi/atspi-text.c +++ b/atspi/atspi-text.c @@ -170,7 +170,7 @@ atspi_text_get_attributes (AtspiText *obj, return NULL; reply = _atspi_dbus_call_partial (obj, atspi_interface_text, "GetAttributes", error, "i", d_offset); - _ATSPI_DBUS_CHECK_SIG (reply, "a{ss}ii", ret) + _ATSPI_DBUS_CHECK_SIG (reply, "a{ss}ii", error, ret) dbus_message_iter_init (reply, &iter); ret = _atspi_dbus_hash_from_iter (&iter); @@ -226,7 +226,7 @@ atspi_text_get_attribute_run (AtspiText *obj, reply = _atspi_dbus_call_partial (obj, atspi_interface_text, "GetAttributeRun", error, "ib", d_offset, include_defaults); - _ATSPI_DBUS_CHECK_SIG (reply, "a{ss}ii", ret) + _ATSPI_DBUS_CHECK_SIG (reply, "a{ss}ii", error, ret) dbus_message_iter_init (reply, &iter); ret = _atspi_dbus_hash_from_iter (&iter); |