[polari] room: Be explicit about ignored values in switch statement
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] room: Be explicit about ignored values in switch statement
- Date: Thu, 17 Sep 2015 14:51:18 +0000 (UTC)
commit 52d494b24df8144d7336bf03c0b9fc4e93f2a3e8
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Sep 17 14:46:17 2015 +0200
room: Be explicit about ignored values in switch statement
src/lib/polari-room.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/lib/polari-room.c b/src/lib/polari-room.c
index 41f5021..e8bd7a2 100644
--- a/src/lib/polari-room.c
+++ b/src/lib/polari-room.c
@@ -348,6 +348,15 @@ on_group_contacts_changed (TpChannel *channel,
g_signal_emit (user_data, signals[MEMBER_JOINED], 0,
g_ptr_array_index (added, i));
break;
+ case TP_CHANNEL_GROUP_CHANGE_REASON_BUSY:
+ case TP_CHANNEL_GROUP_CHANGE_REASON_ERROR:
+ case TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT:
+ case TP_CHANNEL_GROUP_CHANGE_REASON_INVITED:
+ case TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER:
+ case TP_CHANNEL_GROUP_CHANGE_REASON_PERMISSION_DENIED:
+ case TP_CHANNEL_GROUP_CHANGE_REASON_SEPARATED:
+ default:
+ break; /* no special handling */
}
g_signal_emit (user_data, signals[MEMBERS_CHANGED], 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]