diff options
-rw-r--r-- | libempathy-gtk/empathy-irc-network-chooser.c | 8 | ||||
-rw-r--r-- | libempathy-gtk/empathy-irc-network-chooser.h | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-irc-network-chooser.c b/libempathy-gtk/empathy-irc-network-chooser.c index 55a90fd0c..cc6b1cd95 100644 --- a/libempathy-gtk/empathy-irc-network-chooser.c +++ b/libempathy-gtk/empathy-irc-network-chooser.c @@ -358,3 +358,11 @@ empathy_irc_network_chooser_new (EmpathyAccountSettings *settings) "settings", settings, NULL); } + +EmpathyIrcNetwork * +empathy_irc_network_chooser_get_network (EmpathyIrcNetworkChooser *self) +{ + EmpathyIrcNetworkChooserPriv *priv = GET_PRIV (self); + + return priv->network; +} diff --git a/libempathy-gtk/empathy-irc-network-chooser.h b/libempathy-gtk/empathy-irc-network-chooser.h index 442ac2d53..3b6125050 100644 --- a/libempathy-gtk/empathy-irc-network-chooser.h +++ b/libempathy-gtk/empathy-irc-network-chooser.h @@ -25,6 +25,7 @@ #include <gtk/gtk.h> #include <libempathy/empathy-account-settings.h> +#include <libempathy/empathy-irc-network.h> G_BEGIN_DECLS @@ -56,6 +57,9 @@ GType empathy_irc_network_chooser_get_type (void) G_GNUC_CONST; GtkWidget * empathy_irc_network_chooser_new (EmpathyAccountSettings *settings); +EmpathyIrcNetwork * empathy_irc_network_chooser_get_network ( + EmpathyIrcNetworkChooser *self); + G_END_DECLS #endif /* __EMPATHY_IRC_NETWORK_CHOOSER_H__ */ |