im.pidgin.pidgin: 63a37bce425022f4c52fab82e7169ed73f50a49e
markdoliner at pidgin.im
markdoliner at pidgin.im
Tue Oct 16 03:26:03 EDT 2007
-----------------------------------------------------------------
Revision: 63a37bce425022f4c52fab82e7169ed73f50a49e
Ancestor: c6a89223516b0abb6cbb399c2066e3b6a7b69d19
Author: markdoliner at pidgin.im
Date: 2007-10-16T07:24:25
Branch: im.pidgin.pidgin
Modified files:
libpurple/dbus-server.c
ChangeLog:
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.
-------------- next part --------------
============================================================
--- libpurple/dbus-server.c d95604bc588db428fb05bff965a1bdce89dd6c3b
+++ libpurple/dbus-server.c 6452b12fec6bcb52b434ae76bc1dd199b6dd96fd
@@ -674,6 +674,8 @@ purple_dbus_message_append_purple_values
int id;
gint xint;
guint xuint;
+ gint64 xint64;
+ guint64 xuint64;
gboolean xboolean;
gpointer ptr = NULL;
gpointer val;
@@ -694,6 +696,14 @@ purple_dbus_message_append_purple_values
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);
More information about the Commits
mailing list