aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-16 23:56:22 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-23 23:06:36 +0800
commit03fb46a62ffebee924f1c610bfab31458df920de (patch)
tree635688625aad510b85a3df41f7de5b511ed4c111 /libempathy-gtk
parent3528c4dd9364d2b178e49b259affc50022ed9af3 (diff)
downloadgsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.tar
gsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.tar.gz
gsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.tar.bz2
gsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.tar.lz
gsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.tar.xz
gsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.tar.zst
gsoc2013-empathy-03fb46a62ffebee924f1c610bfab31458df920de.zip
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.
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-account-widget-private.h4
-rw-r--r--libempathy-gtk/empathy-account-widget.c2
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 b7ebe2be1..c5c1c1a7c 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 58eb539e2..02d0dc5da 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)