summaryrefslogtreecommitdiff
path: root/tests/test-tpl-log-entry.c
diff options
context:
space:
mode:
authorCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-17 14:59:42 +0000
committerCosimo Alfarano <cosimo.alfarano@collabora.co.uk>2010-02-22 12:34:29 +0000
commit993b4f4b9a14749dd7c36b0e605a3ef4aa04f76e (patch)
tree90156ef1b73c5e7600d5d071bdc1dd5b5f676948 /tests/test-tpl-log-entry.c
parentcab4c064c3bbe0a30f83d0f935f9c549682a99ba (diff)
downloadtelepathy-logger-993b4f4b9a14749dd7c36b0e605a3ef4aa04f76e.tar.gz
added account-path property/member to TplLogStore
That way a client needing to obtain a TpAccount, can acquire it from its object-path. account-path is a PROP_CONSTRUCT_ONLY property, thus the _new method has been updated as well. Setting the avatar_token for queried log entries. Also, cleaned up some code and TP style fixes.
Diffstat (limited to 'tests/test-tpl-log-entry.c')
-rw-r--r--tests/test-tpl-log-entry.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-tpl-log-entry.c b/tests/test-tpl-log-entry.c
index 9af158f..68d5357 100644
--- a/tests/test-tpl-log-entry.c
+++ b/tests/test-tpl-log-entry.c
@@ -3,6 +3,7 @@
#define gconf_client_get_bool(obj,key,err) g_print ("%s", key)
#define LOG_ID 0
+#define ACCOUNT_PATH "/org/freedesktop/Telepathy/Account/FOO/BAR/BAZ"
#define CHAT_ID "echo@test.collabora.co.uk"
#define DIRECTION TPL_LOG_ENTRY_DIRECTION_IN
@@ -12,7 +13,7 @@ int main (int argc, char **argv)
g_type_init ();
- log = tpl_log_entry_text_new (LOG_ID, CHAT_ID, DIRECTION);
+ log = tpl_log_entry_text_new (LOG_ID, ACCOUNT_PATH, CHAT_ID, DIRECTION);
return 0;