[empathy] account-widget: add empathy_account_widget_get_settings()



commit fe4fd76aebe8faea1e7f16215cac005e5017a155
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Aug 24 13:52:23 2011 +0200

    account-widget: add empathy_account_widget_get_settings()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=657220

 libempathy-gtk/empathy-account-widget.c |    8 ++++++++
 libempathy-gtk/empathy-account-widget.h |    3 +++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 26b30f6..e148ada 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -2493,3 +2493,11 @@ empathy_account_widget_set_password_param (EmpathyAccountWidget *self,
 
   gtk_entry_set_text (GTK_ENTRY (priv->param_password_widget), account);
 }
+
+EmpathyAccountSettings *
+empathy_account_widget_get_settings (EmpathyAccountWidget *self)
+{
+  EmpathyAccountWidgetPriv *priv = GET_PRIV (self);
+
+  return priv->settings;
+}
diff --git a/libempathy-gtk/empathy-account-widget.h b/libempathy-gtk/empathy-account-widget.h
index ecc52e6..ab1f3a5 100644
--- a/libempathy-gtk/empathy-account-widget.h
+++ b/libempathy-gtk/empathy-account-widget.h
@@ -85,6 +85,9 @@ void empathy_account_widget_set_other_accounts_exist (
 /* protected methods */
 void empathy_account_widget_changed (EmpathyAccountWidget *widget);
 
+EmpathyAccountSettings * empathy_account_widget_get_settings (
+    EmpathyAccountWidget *self);
+
 G_END_DECLS
 
 #endif /* __EMPATHY_ACCOUNT_WIDGET_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]