From 2269bb1dbf55130f4ba625777dbbebc6407f9ce7 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Wed, 20 Apr 2011 09:28:09 +0100 Subject: AccountChooser: add empathy_account_chooser_get_account_manager() --- libempathy-gtk/empathy-account-chooser.c | 8 ++++++++ libempathy-gtk/empathy-account-chooser.h | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 4f4bc8664..f91ae2320 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -1077,3 +1077,11 @@ empathy_account_chooser_get_account (EmpathyAccountChooser *chooser) return account; } + +TpAccountManager * +empathy_account_chooser_get_account_manager (EmpathyAccountChooser *self) +{ + EmpathyAccountChooserPriv *priv = GET_PRIV (self); + + return priv->manager; +} diff --git a/libempathy-gtk/empathy-account-chooser.h b/libempathy-gtk/empathy-account-chooser.h index 6ff28d0d3..64c9b57b8 100644 --- a/libempathy-gtk/empathy-account-chooser.h +++ b/libempathy-gtk/empathy-account-chooser.h @@ -27,7 +27,7 @@ #include -#include +#include G_BEGIN_DECLS @@ -81,6 +81,7 @@ TpAccount * empathy_account_chooser_get_account (EmpathyAccountChooser TpConnection * empathy_account_chooser_get_connection (EmpathyAccountChooser *chooser); gboolean empathy_account_chooser_set_account (EmpathyAccountChooser *chooser, TpAccount *account); +TpAccountManager * empathy_account_chooser_get_account_manager (EmpathyAccountChooser *self); gboolean empathy_account_chooser_get_has_all_option (EmpathyAccountChooser *chooser); void empathy_account_chooser_set_has_all_option (EmpathyAccountChooser *chooser, gboolean has_all_option); -- cgit v1.2.3