diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-06 17:51:05 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-06 17:51:05 +0800 |
commit | da5b54cd7fb15a4388d494348b94f96787896155 (patch) | |
tree | c0c2317b890d3f2f5b8c216c26b2455f1e158d96 | |
parent | 7445fd6d08294399972dd0c2c808d9aabfc11b20 (diff) | |
download | gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.tar gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.tar.gz gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.tar.bz2 gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.tar.lz gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.tar.xz gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.tar.zst gsoc2013-empathy-da5b54cd7fb15a4388d494348b94f96787896155.zip |
use newly deprecated API
-rw-r--r-- | src/empathy-import-dialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-import-dialog.c b/src/empathy-import-dialog.c index 1e135892d..1d0854dd0 100644 --- a/src/empathy-import-dialog.c +++ b/src/empathy-import-dialog.c @@ -99,7 +99,9 @@ import_dialog_add_account (EmpathyImportAccountData *data) GValue *username; account_manager = empathy_account_manager_dup_singleton (); - account = empathy_account_manager_create (account_manager, data->profile); + account = empathy_account_manager_create_by_profile (account_manager, + data->profile); + g_object_unref (account_manager); if (account == NULL) { |