diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-04-20 16:28:09 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-06-09 18:37:55 +0800 |
commit | 2269bb1dbf55130f4ba625777dbbebc6407f9ce7 (patch) | |
tree | 2f653fae0e570e8dc94fb973d73f90d09d7c97c2 /libempathy-gtk | |
parent | 8d3f7406c2055e4483cdc9639f8463e48b521621 (diff) | |
download | gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.tar gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.tar.gz gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.tar.bz2 gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.tar.lz gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.tar.xz gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.tar.zst gsoc2013-empathy-2269bb1dbf55130f4ba625777dbbebc6407f9ce7.zip |
AccountChooser: add empathy_account_chooser_get_account_manager()
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 8 | ||||
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.h | 3 |
2 files changed, 10 insertions, 1 deletions
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 <gtk/gtk.h> -#include <telepathy-glib/account.h> +#include <telepathy-glib/telepathy-glib.h> 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); |