diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-19 01:48:26 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-23 23:06:38 +0800 |
commit | 0aee963e52e7432567e664a385f4b0658fe8993c (patch) | |
tree | a4253dcc6baed86b516e6bae70b41812b9739ab9 | |
parent | adf5302cd8c725cd3d6c5948481839da6b911d45 (diff) | |
download | gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.tar gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.tar.gz gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.tar.bz2 gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.tar.lz gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.tar.xz gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.tar.zst gsoc2013-empathy-0aee963e52e7432567e664a385f4b0658fe8993c.zip |
rename account_widget_setup_widget empathy_account_widget_setup_widget
This function is exported now.
-rw-r--r-- | libempathy-gtk/empathy-account-widget-private.h | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.c | 4 | ||||
-rw-r--r-- | libempathy-gtk/empathy-account-widget.c | 7 |
3 files changed, 7 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-account-widget-private.h b/libempathy-gtk/empathy-account-widget-private.h index c5c1c1a7c..1de7dce23 100644 --- a/libempathy-gtk/empathy-account-widget-private.h +++ b/libempathy-gtk/empathy-account-widget-private.h @@ -42,7 +42,7 @@ void empathy_account_widget_handle_params (EmpathyAccountWidget *self, const gchar *first_widget, ...); -void account_widget_setup_widget (EmpathyAccountWidget *self, +void empathy_account_widget_setup_widget (EmpathyAccountWidget *self, GtkWidget *widget, const gchar *param_name); diff --git a/libempathy-gtk/empathy-account-widget-sip.c b/libempathy-gtk/empathy-account-widget-sip.c index 0ba4227e8..401528d58 100644 --- a/libempathy-gtk/empathy-account-widget-sip.c +++ b/libempathy-gtk/empathy-account-widget-sip.c @@ -192,7 +192,7 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self, gtk_list_store_append (store, &iter); gtk_list_store_set (store, &iter, 0, "tls", 1, "TLS", -1); - account_widget_setup_widget (self, settings->combobox_transport, + empathy_account_widget_setup_widget (self, settings->combobox_transport, "transport"); gtk_table_attach_defaults (GTK_TABLE (table_advanced), @@ -228,7 +228,7 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self, g_signal_connect (settings->combobox_keep_alive_mechanism, "changed", G_CALLBACK (keep_alive_mechanism_combobox_change_cb), settings); - account_widget_setup_widget (self, + empathy_account_widget_setup_widget (self, settings->combobox_keep_alive_mechanism, "keepalive-mechanism"); gtk_table_attach_defaults (GTK_TABLE (table_advanced), diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c index 3668232fb..f69f041f1 100644 --- a/libempathy-gtk/empathy-account-widget.c +++ b/libempathy-gtk/empathy-account-widget.c @@ -336,7 +336,7 @@ account_widget_combobox_changed_cb (GtkWidget *widget, } void -account_widget_setup_widget (EmpathyAccountWidget *self, +empathy_account_widget_setup_widget (EmpathyAccountWidget *self, GtkWidget *widget, const gchar *param_name) { @@ -606,7 +606,7 @@ accounts_widget_generic_setup (EmpathyAccountWidget *self, } if (widget) - account_widget_setup_widget (self, widget, param->name); + empathy_account_widget_setup_widget (self, widget, param->name); g_free (param_name_formatted); } @@ -633,7 +633,8 @@ account_widget_handle_params_valist (EmpathyAccountWidget *self, continue; } - account_widget_setup_widget (self, GTK_WIDGET (object), param_name); + empathy_account_widget_setup_widget (self, GTK_WIDGET (object), + param_name); } } |