aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-dispatcher.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 06:13:12 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-24 06:21:56 +0800
commit25bd33610962da0a8ff8dba645ac84e9f84d7e4f (patch)
tree45ac6baef883b5194cedcaea3f27653920ccf726 /libempathy/empathy-dispatcher.c
parent74bba154cc8476d831140e27148d4897633e2d18 (diff)
downloadgsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.tar
gsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.tar.gz
gsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.tar.bz2
gsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.tar.lz
gsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.tar.xz
gsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.tar.zst
gsoc2013-empathy-25bd33610962da0a8ff8dba645ac84e9f84d7e4f.zip
Add a new _ensure_account API
Have one call which only gets the account if it exists and a different one which creates the account on the given path when needed.
Diffstat (limited to 'libempathy/empathy-dispatcher.c')
-rw-r--r--libempathy/empathy-dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 7e1492de8..465f23b75 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1800,7 +1800,7 @@ empathy_dispatcher_handle_channels (TpSvcClientHandler *self,
EmpathyAccount *account;
TpConnection *connection;
- account = empathy_account_manager_get_account (priv->account_manager,
+ account = empathy_account_manager_ensure_account (priv->account_manager,
account_path);
g_assert (account != NULL);