aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-17 20:11:20 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-17 20:11:20 +0800
commit8b24044e2bdeec4e282339c78d4eff9050cf964c (patch)
tree77afbe92c0a90d7d5d89254df99e03a18ec4f109 /libempathy-gtk/empathy-account-widget.c
parentd72ca1549ebfe0648060f12416a44530566c066b (diff)
downloadgsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.tar
gsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.tar.gz
gsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.tar.bz2
gsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.tar.lz
gsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.tar.xz
gsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.tar.zst
gsoc2013-empathy-8b24044e2bdeec4e282339c78d4eff9050cf964c.zip
If there is a failure in recognizing the protocol name, fallback to the generic UI
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 6d5b2b279..feb5b6d84 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -785,15 +785,8 @@ do_constructed (GObject *obj)
empathy_account_widget_irc_build (self, filename);
else if (!tp_strdiff (priv->protocol, "sip"))
empathy_account_widget_sip_build (self, filename);
- else if (!tp_strdiff (priv->protocol, "generic"))
- account_widget_build_generic (self, filename);
else
- {
- g_free (uiname);
- g_free (filename);
- g_critical ("Unknown protocol, can't build the account widget");
- return;
- }
+ account_widget_build_generic (self, filename);
g_free (uiname);
g_free (filename);