changeset 22095:4c28d1e4e284

Make sure the 'connection-error' signal doesn't cause a dbus error message.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 13 Jan 2008 20:46:20 +0000
parents c55e5058499a
children 6ab421173406 eab7d03edfcb
files libpurple/dbus-server.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/dbus-server.c	Sun Jan 13 20:25:23 2008 +0000
+++ b/libpurple/dbus-server.c	Sun Jan 13 20:46:20 2008 +0000
@@ -689,6 +689,7 @@
 		switch (purple_values[i]->type)
 		{
 		case PURPLE_TYPE_INT:
+		case PURPLE_TYPE_ENUM:
 			xint = my_arg(gint);
 			dbus_message_iter_append_basic(iter, DBUS_TYPE_INT32, &xint);
 			break;