[empathy/mc5: 379/483] If there is a failure in recognizing the protocol name, fallback to the generic UI
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 379/483] If there is a failure in recognizing the protocol name, fallback to the generic UI
- Date: Fri, 21 Aug 2009 17:19:29 +0000 (UTC)
commit 8b24044e2bdeec4e282339c78d4eff9050cf964c
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Mon Aug 17 13:11:20 2009 +0100
If there is a failure in recognizing the protocol name, fallback to the generic UI
libempathy-gtk/empathy-account-widget.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 6d5b2b2..feb5b6d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]