aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-07-08 18:39:07 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-05 22:55:07 +0800
commitf8c37da731af9f6cd74e7a0ef08fa02059d981ac (patch)
tree88678c98422ba129ac0b6f602c5832bc9570251b /libempathy-gtk/empathy-chat.c
parent5cc326f741ab695e4fac8f4c4ccd99cf235115fc (diff)
downloadgsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar
gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.gz
gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.bz2
gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.lz
gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.xz
gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.tar.zst
gsoc2013-empathy-f8c37da731af9f6cd74e7a0ef08fa02059d981ac.zip
Fix missing entries in switch statements
Added missing default cases and missing enum cases.
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 5d8fe71d3..dd140587c 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -255,6 +255,9 @@ reconnected_connection_ready_cb (TpConnection *connection,
empathy_dispatcher_join_muc (connection,
priv->id, EMPATHY_DISPATCHER_NON_USER_ACTION);
break;
+ case TP_HANDLE_TYPE_NONE:
+ case TP_HANDLE_TYPE_LIST:
+ case TP_HANDLE_TYPE_GROUP:
default:
g_assert_not_reached ();
break;
@@ -1166,6 +1169,7 @@ chat_send_error_cb (EmpathyTpChat *tp_chat,
case TP_CHANNEL_TEXT_SEND_ERROR_NOT_IMPLEMENTED:
error = _("not implemented");
break;
+ case TP_CHANNEL_TEXT_SEND_ERROR_UNKNOWN:
default:
error = _("unknown");
break;