diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-15 14:50:03 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-16 11:41:51 +0200 |
commit | ece8eadbc0ba433c85c313eb11f0233aeae24cb9 (patch) | |
tree | d99bd75cb1db46d02986673edfd66cb4d7d0d4a0 /tubes/source/contacts.cxx | |
parent | 766a0247fc3ac49b25aab69948e4d0a5df334ff9 (diff) |
tubes: fix unittest again and simplify
- killed GMailLoop, seems to work with g_main_context_iteration( NULL, TRUE);
- added test for sending and also receiving file
Change-Id: Ida11f875709dab71d404697e8c39fe4548f653b0
Diffstat (limited to 'tubes/source/contacts.cxx')
-rw-r--r-- | tubes/source/contacts.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tubes/source/contacts.cxx b/tubes/source/contacts.cxx index 2a75f2350ff0..5a46248129ce 100644 --- a/tubes/source/contacts.cxx +++ b/tubes/source/contacts.cxx @@ -230,6 +230,9 @@ public: // FIXME: ref the TpAccount, TpContact ... maACs.push_back( AccountContactPair( it->first, it->second ) ); pEntry->SetUserData( &maACs.back() ); + + g_object_unref (it->first); + g_object_unref (it->second); } } Show(); |