diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-31 16:18:59 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-02 17:59:51 +0800 |
commit | 7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6 (patch) | |
tree | 6b117a66c23a5da032626e8c1bd2baf31b268ed8 | |
parent | 9a4ee6c2e7a494afdc830043becbe11c08c69772 (diff) | |
download | gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.tar gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.tar.gz gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.tar.bz2 gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.tar.lz gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.tar.xz gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.tar.zst gsoc2013-empathy-7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6.zip |
add empathy_irc_network_chooser_get_network()
-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__ */ |