[empathy/gnome-3-4] add empathy_local_xmpp_assistant_widget_is_valid()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-3-4] add empathy_local_xmpp_assistant_widget_is_valid()
- Date: Wed, 4 Apr 2012 13:23:58 +0000 (UTC)
commit bba730492873951c0e8b58c25ebfc6128b02e8a9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Apr 4 15:15:35 2012 +0200
add empathy_local_xmpp_assistant_widget_is_valid()
https://bugzilla.gnome.org/show_bug.cgi?id=673451
.../empathy-local-xmpp-assistant-widget.c | 7 +++++++
.../empathy-local-xmpp-assistant-widget.h | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c
index 3a6c8ee..9caca7d 100644
--- a/libempathy-gtk/empathy-local-xmpp-assistant-widget.c
+++ b/libempathy-gtk/empathy-local-xmpp-assistant-widget.c
@@ -307,3 +307,10 @@ empathy_local_xmpp_assistant_widget_should_create_account (
return !salut_created;
}
+
+gboolean
+empathy_local_xmpp_assistant_widget_is_valid (
+ EmpathyLocalXmppAssistantWidget *self)
+{
+ return empathy_account_settings_is_valid (self->priv->settings);
+}
diff --git a/libempathy-gtk/empathy-local-xmpp-assistant-widget.h b/libempathy-gtk/empathy-local-xmpp-assistant-widget.h
index 35343bd..dafd7fb 100644
--- a/libempathy-gtk/empathy-local-xmpp-assistant-widget.h
+++ b/libempathy-gtk/empathy-local-xmpp-assistant-widget.h
@@ -58,6 +58,9 @@ void empathy_local_xmpp_assistant_widget_create_account (
gboolean empathy_local_xmpp_assistant_widget_should_create_account (
TpAccountManager *manager);
+gboolean empathy_local_xmpp_assistant_widget_is_valid (
+ EmpathyLocalXmppAssistantWidget *self);
+
G_END_DECLS
#endif /* __EMPATHY_LOCAL_XMPP_ASSISTANT_WIDGET_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]