diff pidgin/gtkmain.c @ 26618:d7bd1431b989

Fix the dbus type for calling PurpleBlistSetVisible. See [0d3ce6dca7222c77b50e8a23fe0ed1bae02928a8] for why this broke. Fixes #8916.
author Paul Aurich <paul@darkrain42.org>
date Sat, 11 Apr 2009 02:55:46 +0000
parents 84374a764255
children 608493e51182 4851546210a1
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Fri Apr 10 18:55:26 2009 +0000
+++ b/pidgin/gtkmain.c	Sat Apr 11 02:55:46 2009 +0000
@@ -787,7 +787,7 @@
 		DBusMessage *message = dbus_message_new_method_call(DBUS_SERVICE_PURPLE, DBUS_PATH_PURPLE,
 				DBUS_INTERFACE_PURPLE, "PurpleBlistSetVisible");
 		gboolean tr = TRUE;
-		dbus_message_append_args(message, DBUS_TYPE_UINT32, &tr, DBUS_TYPE_INVALID);
+		dbus_message_append_args(message, DBUS_TYPE_INT32, &tr, DBUS_TYPE_INVALID);
 		dbus_connection_send_with_reply_and_block(conn, message, -1, NULL);
 		dbus_message_unref(message);
 #endif