From 03fb46a62ffebee924f1c610bfab31458df920de Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 16 Nov 2009 15:56:22 +0000 Subject: [PATCH] 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 deletion(-) diff --git a/libempathy-gtk/empathy-account-widget-private.h b/libempathy-gtk/empathy-account-widget-private.h index b7ebe2be..c5c1c1a7 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 58eb539e..02d0dc5d 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) -- 2.39.2