aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget-irc.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-31 16:23:07 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-02 17:59:51 +0800
commitdea80ff6471a66f17dc0ade2c1c5795439e4078c (patch)
tree2ca7056e8fe1c97c0caa6f8ad98cbe692f069f79 /libempathy-gtk/empathy-account-widget-irc.c
parent7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6 (diff)
downloadgsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.tar
gsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.tar.gz
gsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.tar.bz2
gsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.tar.lz
gsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.tar.xz
gsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.tar.zst
gsoc2013-empathy-dea80ff6471a66f17dc0ade2c1c5795439e4078c.zip
account-widget-irc: return the EmpathyIrcNetworkChooser when building the widget
Diffstat (limited to 'libempathy-gtk/empathy-account-widget-irc.c')
-rw-r--r--libempathy-gtk/empathy-account-widget-irc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-account-widget-irc.c b/libempathy-gtk/empathy-account-widget-irc.c
index 6cb1e22dd..450767751 100644
--- a/libempathy-gtk/empathy-account-widget-irc.c
+++ b/libempathy-gtk/empathy-account-widget-irc.c
@@ -99,7 +99,7 @@ network_changed_cb (EmpathyIrcNetworkChooser *chooser,
empathy_account_widget_changed (settings->self);
}
-void
+EmpathyIrcNetworkChooser *
empathy_account_widget_irc_build (EmpathyAccountWidget *self,
const char *filename,
GtkWidget **table_common_settings)
@@ -145,9 +145,11 @@ empathy_account_widget_irc_build (EmpathyAccountWidget *self,
self->ui_details->default_focus = g_strdup ("entry_nick");
g_object_unref (ac_settings);
+
+ return EMPATHY_IRC_NETWORK_CHOOSER (settings->network_chooser);
}
-void
+EmpathyIrcNetworkChooser *
empathy_account_widget_irc_build_simple (EmpathyAccountWidget *self,
const char *filename)
{
@@ -186,4 +188,6 @@ empathy_account_widget_irc_build_simple (EmpathyAccountWidget *self,
self->ui_details->default_focus = g_strdup ("entry_nick_simple");
g_object_unref (ac_settings);
+
+ return EMPATHY_IRC_NETWORK_CHOOSER (settings->network_chooser);
}