[empathy] add empathy_irc_network_chooser_get_network()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] add empathy_irc_network_chooser_get_network()
- Date: Thu, 2 Sep 2010 10:00:19 +0000 (UTC)
commit 7afc46a7f88a0fb1d92cbc25b6a96c1a11633bf6
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Aug 31 10:18:59 2010 +0200
add empathy_irc_network_chooser_get_network()
libempathy-gtk/empathy-irc-network-chooser.c | 8 ++++++++
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 55a90fd..cc6b1cd 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 442ac2d..3b61250 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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]