summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2010-02-25 15:24:25 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2010-02-25 15:24:25 -0500
commit4e675724217ece947e168bd9120f51100f3f67b6 (patch)
tree9dbe7d7a2a7e92e75eb5b3fa93406655e00833ac /src
parent4b8741b6898cddb85db4bc9aa4ddb2c3262df58b (diff)
downloadtelepathy-gabble-4e675724217ece947e168bd9120f51100f3f67b6.tar.gz
Update MailNotification Spec 0.19.1
The TP-Spec has been updated and uploaded upstream. The 'type' key of a Mail along with Mail_Type enumeration was replaced by a global MailNotificationFlag. Also, _request_mail_url() now receive a GValue instead of a string for url_data. Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/conn-mail-notif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conn-mail-notif.c b/src/conn-mail-notif.c
index 6a2c70cc4..128c6efdf 100644
--- a/src/conn-mail-notif.c
+++ b/src/conn-mail-notif.c
@@ -244,7 +244,7 @@ static void
gabble_mail_notification_request_mail_url (
GabbleSvcConnectionInterfaceMailNotification *iface,
const gchar *in_id,
- const gchar *in_url_data,
+ const GValue *in_url_data,
DBusGMethodInvocation *context)
{
GabbleConnection *conn = GABBLE_CONNECTION (iface);
@@ -400,7 +400,6 @@ mail_thread_info_each (WockyXmppNode *node,
else
{
mail = tp_asv_new ("id", G_TYPE_STRING, tid,
- "type", G_TYPE_UINT, GABBLE_MAIL_TYPE_THREAD,
"url-data", G_TYPE_STRING, "",
NULL);
dirty = TRUE;
@@ -714,6 +713,7 @@ conn_mail_notif_properties_getter (GObject *object,
| GABBLE_MAIL_NOTIFICATION_FLAG_SUPPORTS_UNREAD_MAILS
| GABBLE_MAIL_NOTIFICATION_FLAG_SUPPORTS_REQUEST_INBOX_URL
| GABBLE_MAIL_NOTIFICATION_FLAG_SUPPORTS_REQUEST_MAIL_URL
+ | GABBLE_MAIL_NOTIFICATION_FLAG_THREAD_BASED
);
else
g_value_set_uint (value, 0);