diff options
Diffstat (limited to 'libempathy-gtk/empathy-account-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 14ab5ebe1..5e261ebdb 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -901,3 +901,17 @@ empathy_account_chooser_is_ready (EmpathyAccountChooser *self) return priv->ready; } + +TpAccount * +empathy_account_chooser_get_account (EmpathyAccountChooser *chooser) +{ + TpAccount *account; + + account = empathy_account_chooser_dup_account (chooser); + if (account == NULL) + return NULL; + + g_object_unref (account); + + return account; +} |