diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-10-13 15:54:29 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-10-13 15:54:29 +0800 |
commit | a348a79dbdcb51c9936db250f529501bf3d232b5 (patch) | |
tree | 4ebf08f2c3dbab57adcb600c225027877dc7a114 /tests/check-empathy-helpers.c | |
parent | 7efe482b09cb2709fc82d777827c0043d0035406 (diff) | |
download | gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.gz gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.bz2 gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.lz gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.xz gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.tar.zst gsoc2013-empathy-a348a79dbdcb51c9936db250f529501bf3d232b5.zip |
rename remove_account_from_gconf to destroy_test_account and destroy the account object in it
svn path=/trunk/; revision=1555
Diffstat (limited to 'tests/check-empathy-helpers.c')
-rw-r--r-- | tests/check-empathy-helpers.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/check-empathy-helpers.c b/tests/check-empathy-helpers.c index e67483d0d..0946434bd 100644 --- a/tests/check-empathy-helpers.c +++ b/tests/check-empathy-helpers.c @@ -78,7 +78,7 @@ create_test_account (void) } void -remove_account_from_gconf (McAccount *account) +destroy_test_account (McAccount *account) { GConfClient *client; gchar *path; @@ -135,4 +135,7 @@ remove_account_from_gconf (McAccount *account) g_object_unref (client); g_free (path); + + mc_account_delete (account); + g_object_unref (account); } |