aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-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);