summaryrefslogtreecommitdiff
path: root/tubes/source/contacts.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-15 14:50:03 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-16 11:41:51 +0200
commitece8eadbc0ba433c85c313eb11f0233aeae24cb9 (patch)
treed99bd75cb1db46d02986673edfd66cb4d7d0d4a0 /tubes/source/contacts.cxx
parent766a0247fc3ac49b25aab69948e4d0a5df334ff9 (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.cxx3
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();