[at-spi2-core] Fix GError sent when receiving a reply of the wrong type
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix GError sent when receiving a reply of the wrong type
- Date: Tue, 10 Apr 2012 20:08:57 +0000 (UTC)
commit cbcc85fda633a1c2ef44b47207e5aeb8bb4f9481
Author: Mike Gorse <mgorse suse com>
Date: Tue Apr 10 15:09:32 2012 -0500
Fix GError sent when receiving a reply of the wrong type
When a method reply of the wrong type was received, the parameters were
still sent backwards when formatting the GError.
dbind/dbind.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dbind/dbind.c b/dbind/dbind.c
index eabf7cd..f216c52 100644
--- a/dbind/dbind.c
+++ b/dbind/dbind.c
@@ -160,8 +160,8 @@ dbind_method_call_reentrant_va (DBusConnection *cnx,
if (opt_error)
dbus_set_error (opt_error, DBUS_ERROR_INVALID_ARGS,
"Call to \"%s\" returned signature %s; expected %s",
- method, p + 2,
- dbus_message_get_signature (reply));
+ method, dbus_message_get_signature (reply),
+ p + 2);
goto out;
}
p = arg_types;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]