[empathy] empathy-account-widget: export account_widget_setup_widget
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] empathy-account-widget: export account_widget_setup_widget
- Date: Mon, 23 Nov 2009 15:16:35 +0000 (UTC)
commit 03fb46a62ffebee924f1c610bfab31458df920de
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Nov 16 15:56:22 2009 +0000
empathy-account-widget: export account_widget_setup_widget
This function can be useful if a account widget wants to map a widget not
created in the GtkBuilder file.
libempathy-gtk/empathy-account-widget-private.h | 4 ++++
libempathy-gtk/empathy-account-widget.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget-private.h b/libempathy-gtk/empathy-account-widget-private.h
index b7ebe2b..c5c1c1a 100644
--- a/libempathy-gtk/empathy-account-widget-private.h
+++ b/libempathy-gtk/empathy-account-widget-private.h
@@ -42,6 +42,10 @@ void empathy_account_widget_handle_params (EmpathyAccountWidget *self,
const gchar *first_widget,
...);
+void account_widget_setup_widget (EmpathyAccountWidget *self,
+ GtkWidget *widget,
+ const gchar *param_name);
+
G_END_DECLS
#endif /* __EMPATHY_ACCOUNT_WIDGET_PRIVATE_H__ */
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 58eb539..02d0dc5 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -296,7 +296,7 @@ account_widget_jabber_ssl_toggled_cb (GtkWidget *checkbutton_ssl,
gtk_spin_button_set_value (GTK_SPIN_BUTTON (priv->spinbutton_port), port);
}
-static void
+void
account_widget_setup_widget (EmpathyAccountWidget *self,
GtkWidget *widget,
const gchar *param_name)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]