summaryrefslogtreecommitdiff
path: root/atspi/atspi-collection.c
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2011-01-24 16:18:34 -0600
committerMike Gorse <mgorse@novell.com>2011-01-24 16:18:34 -0600
commit0ab99d28b6da6589a5522320e395b94cba50f907 (patch)
tree9ac895827835e7978a5386cba012703ef9b60e10 /atspi/atspi-collection.c
parent3aa75b70e67f5f4ddf31a9eeac132fee6389f66d (diff)
downloadat-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.c6
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);