diff options
author | Mike Gorse <mgorse@novell.com> | 2011-01-24 16:18:34 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-01-24 16:18:34 -0600 |
commit | 0ab99d28b6da6589a5522320e395b94cba50f907 (patch) | |
tree | 9ac895827835e7978a5386cba012703ef9b60e10 /atspi/atspi-collection.c | |
parent | 3aa75b70e67f5f4ddf31a9eeac132fee6389f66d (diff) | |
download | at-spi2-core-0ab99d28b6da6589a5522320e395b94cba50f907.tar.gz |
More error handling fixes
Set the GError in some more cases where we were previously printing warnings.
Also added an error parameter to event register/deregister functions, as it
makes calls over the wire.
Diffstat (limited to 'atspi/atspi-collection.c')
-rw-r--r-- | atspi/atspi-collection.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atspi/atspi-collection.c b/atspi/atspi-collection.c index 29f68fa9..e4b79f8b 100644 --- a/atspi/atspi-collection.c +++ b/atspi/atspi-collection.c @@ -138,7 +138,7 @@ atspi_collection_get_matches (AtspiCollection *collection, DBUS_TYPE_INT32, &d_count, DBUS_TYPE_BOOLEAN, &d_traverse, DBUS_TYPE_INVALID); - reply = _atspi_dbus_send_with_reply_and_block (message); + reply = _atspi_dbus_send_with_reply_and_block (message, error); if (!reply) return NULL; return return_accessibles (reply); @@ -194,7 +194,7 @@ atspi_collection_get_matches_to (AtspiCollection *collection, DBUS_TYPE_INT32, &d_count, DBUS_TYPE_BOOLEAN, &d_traverse, DBUS_TYPE_INVALID); - reply = _atspi_dbus_send_with_reply_and_block (message); + reply = _atspi_dbus_send_with_reply_and_block (message, error); if (!reply) return NULL; return return_accessibles (reply); @@ -246,7 +246,7 @@ atspi_collection_get_matches_from (AtspiCollection *collection, DBUS_TYPE_INT32, &d_count, DBUS_TYPE_BOOLEAN, &d_traverse, DBUS_TYPE_INVALID); - reply = _atspi_dbus_send_with_reply_and_block (message); + reply = _atspi_dbus_send_with_reply_and_block (message, error); if (!reply) return NULL; return return_accessibles (reply); |