[at-spi2-core] Add some verbosity to the warning displayed when GetItems fails
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Add some verbosity to the warning displayed when GetItems fails
- Date: Tue, 28 Dec 2010 21:15:42 +0000 (UTC)
commit 9e1ae9411ff903bd809bdf9f57c3baa02c30b571
Author: Mike Gorse <mgorse novell com>
Date: Tue Dec 28 16:18:13 2010 -0500
Add some verbosity to the warning displayed when GetItems fails
atspi/atspi-misc.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 62079e4..1bc1554 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -483,8 +483,12 @@ handle_get_items (DBusPendingCall *pending, void *user_data)
if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR)
{
+ const char *sender = dbus_message_get_sender (reply);
+ const char *error = NULL;
+ dbus_message_get_args (reply, NULL, DBUS_TYPE_STRING, &error,
+ DBUS_TYPE_INVALID);
+ g_warning ("Atspi: Error in GetItems, sender=%s, error=%s", sender, error);
dbus_message_unref (reply);
- g_warning ("Atspi: Error in GetItems, sender=%s", dbus_message_get_sender (reply));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]