Mercurial > pidgin.yaz
changeset 20968:d59fb44a0617
Add the ability for our dbus server to send out int64 and uint64. I
was getting an assertion failure on line 725 of dbus-server.c because
the log-timestamp signal, from log_get_timestamp() in log.c:685 was
emitting something as an int64. And I threw in uint64 because it was
easy.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 16 Oct 2007 07:24:25 +0000 |
parents | 5cf8eef0692b |
children | 17ee8c81c99b |
files | libpurple/dbus-server.c |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/dbus-server.c Tue Oct 16 07:10:33 2007 +0000 +++ b/libpurple/dbus-server.c Tue Oct 16 07:24:25 2007 +0000 @@ -674,6 +674,8 @@ int id; gint xint; guint xuint; + gint64 xint64; + guint64 xuint64; gboolean xboolean; gpointer ptr = NULL; gpointer val; @@ -694,6 +696,14 @@ xuint = my_arg(guint); dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT32, &xuint); break; + case PURPLE_TYPE_INT64: + xint = my_arg(gint64); + dbus_message_iter_append_basic(iter, DBUS_TYPE_INT64, &xint); + break; + case PURPLE_TYPE_UINT64: + xuint = my_arg(guint64); + dbus_message_iter_append_basic(iter, DBUS_TYPE_UINT64, &xuint); + break; case PURPLE_TYPE_BOOLEAN: xboolean = my_arg(gboolean); dbus_message_iter_append_basic(iter, DBUS_TYPE_BOOLEAN, &xboolean);