diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 21:15:35 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 21:22:27 +0800 |
commit | bba730492873951c0e8b58c25ebfc6128b02e8a9 (patch) | |
tree | f09428cfefc7a88b607384494c1641c539679546 | |
parent | b6d66bc4223175a058575b90f5b5bce4ad279980 (diff) | |
download | gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.tar gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.tar.gz gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.tar.bz2 gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.tar.lz gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.tar.xz gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.tar.zst gsoc2013-empathy-bba730492873951c0e8b58c25ebfc6128b02e8a9.zip |
add empathy_local_xmpp_assistant_widget_is_valid()
https://bugzilla.gnome.org/show_bug.cgi?id=673451
-rw-r--r-- | libempathy-gtk/empathy-local-xmpp-assistant-widget.c | 7 | ||||
-rw-r--r-- | libempathy-gtk/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 3a6c8ee1c..9caca7de9 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 35343bd40..dafd7fb2a 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__ */ |