[at-spi2-core] Fix message displayed when a call returns the wrong type



commit 5f78f9231ad9d5d6b89a1de349e401d096d9292a
Author: Mike Gorse <mgorse novell com>
Date:   Thu Feb 23 14:49:16 2012 -0600

    Fix message displayed when a call returns the wrong type
    
    The message displayed by dbind for a type mismatch had its parameters
    inverted.

 dbind/dbind.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dbind/dbind.c b/dbind/dbind.c
index c2b6f5d..eabf7cd 100644
--- a/dbind/dbind.c
+++ b/dbind/dbind.c
@@ -156,7 +156,7 @@ dbind_method_call_reentrant_va (DBusConnection *cnx,
 	if (strcmp (p + 2, dbus_message_get_signature (reply)) != 0)
 	{
 	    g_warning ("dbind: Call to \"%s\" returned signature %s; expected %s",
-		       method, p + 2, dbus_message_get_signature (reply));
+		       method, dbus_message_get_signature (reply), p + 2);
 	    if (opt_error)
 	        dbus_set_error (opt_error, DBUS_ERROR_INVALID_ARGS,
 		                "Call to \"%s\" returned signature %s; expected %s",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]