Modified webpage: now tinymail repository is in gitorious.
[modest] / tests / dbus_api / test_get_unread_msgs.c
index 3d741a0..2246c7f 100644 (file)
@@ -42,7 +42,8 @@ int main (int argc, char *argv[])
                ModestAccountHits *hits = (ModestAccountHits *) iter->data;
                GList *header_node;
 
-               g_print ("Account: id: %s name: %s protocol: %s\n", hits->account_id, hits->account_name, hits->store_protocol);
+               g_print ("Account: id: %s name: %s protocol: %s unread: %d\n", hits->account_id, hits->account_name, 
+                        hits->store_protocol, (gint32) hits->unread_count);
                for (header_node = hits->hits; header_node != NULL; header_node = g_list_next (header_node)) {
                        ModestGetUnreadMessagesHit *hit = (ModestGetUnreadMessagesHit *) header_node->data;