[empathy] export empathy_account_widget_apply_and_log_in()



commit 34be847fcab2d5f920abf0d109abfbca884f08a7
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Jul 18 10:53:46 2012 +0200

    export empathy_account_widget_apply_and_log_in()

 libempathy-gtk/empathy-account-widget.c |   12 +++++-------
 libempathy-gtk/empathy-account-widget.h |    2 ++
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index b1ee32d..c71b24f 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -134,8 +134,6 @@ enum {
   LAST_SIGNAL
 };
 
-static void account_widget_apply_and_log_in (EmpathyAccountWidget *);
-
 enum {
   RESPONSE_LAUNCH
 };
@@ -511,7 +509,7 @@ password_entry_activated_cb (GtkEntry *entry,
     EmpathyAccountWidget *self)
 {
     if (gtk_widget_get_sensitive (self->priv->apply_button))
-        account_widget_apply_and_log_in (self);
+        empathy_account_widget_apply_and_log_in (self);
 }
 
 static void
@@ -519,7 +517,7 @@ account_entry_activated_cb (GtkEntry *entry,
     EmpathyAccountWidget *self)
 {
     if (gtk_widget_get_sensitive (self->priv->apply_button))
-        account_widget_apply_and_log_in (self);
+        empathy_account_widget_apply_and_log_in (self);
 }
 
 void
@@ -993,8 +991,8 @@ account_widget_applied_cb (GObject *source_object,
   g_object_unref (self);
 }
 
-static void
-account_widget_apply_and_log_in (EmpathyAccountWidget *self)
+void
+empathy_account_widget_apply_and_log_in (EmpathyAccountWidget *self)
 {
   gboolean display_name_overridden;
 
@@ -1035,7 +1033,7 @@ static void
 account_widget_apply_clicked_cb (GtkWidget *button,
     EmpathyAccountWidget *self)
 {
-    account_widget_apply_and_log_in (self);
+    empathy_account_widget_apply_and_log_in (self);
 }
 
 static void
diff --git a/libempathy-gtk/empathy-account-widget.h b/libempathy-gtk/empathy-account-widget.h
index acc8a05..2f7d544 100644
--- a/libempathy-gtk/empathy-account-widget.h
+++ b/libempathy-gtk/empathy-account-widget.h
@@ -82,6 +82,8 @@ void empathy_account_widget_set_other_accounts_exist (
 
 void empathy_account_widget_hide_buttons (EmpathyAccountWidget *self);
 
+void empathy_account_widget_apply_and_log_in (EmpathyAccountWidget *self);
+
 /* protected methods */
 void empathy_account_widget_changed (EmpathyAccountWidget *widget);
 



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