[at-spi2-core] Set the gerror for a dbus error in _atspi_dbus_call
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Set the gerror for a dbus error in _atspi_dbus_call
- Date: Mon, 27 Jun 2011 14:32:09 +0000 (UTC)
commit fe389ad4a80d012d69e0148404b825fc3399d062
Author: Trevor Saunders <trev saunders gmail com>
Date: Mon Jun 27 09:32:08 2011 -0500
Set the gerror for a dbus error in _atspi_dbus_call
atspi/atspi-misc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 616dc22..0a24f24 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -953,7 +953,7 @@ _atspi_dbus_call (gpointer obj, const char *interface, const char *method, GErro
_atspi_process_deferred_messages ((gpointer)TRUE);
if (dbus_error_is_set (&err))
{
- /* TODO: Set gerror */
+ g_set_error(error, ATSPI_ERROR, ATSPI_ERROR_IPC, err.message);
dbus_error_free (&err);
}
return retval;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]