summaryrefslogtreecommitdiff
path: root/telepathy-glib/group-mixin.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-01-06 17:03:37 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2009-01-07 18:57:50 +0000
commit971cebaa1245f514530218ec2458ef8d4ea5acd2 (patch)
treef1c147423294345f15838ec9f71c71860af958cb /telepathy-glib/group-mixin.c
parent3dc2ecf531041d6225ff8f3499ba922c08ce5b1c (diff)
downloadtelepathy-glib-971cebaa1245f514530218ec2458ef8d4ea5acd2.tar.gz
Add missing stringifications of GroupChangeReason
Diffstat (limited to 'telepathy-glib/group-mixin.c')
-rw-r--r--telepathy-glib/group-mixin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/telepathy-glib/group-mixin.c b/telepathy-glib/group-mixin.c
index 0ecdb34b2..72f6da0c3 100644
--- a/telepathy-glib/group-mixin.c
+++ b/telepathy-glib/group-mixin.c
@@ -91,6 +91,18 @@ group_change_reason_str (guint reason)
return "invited";
case TP_CHANNEL_GROUP_CHANGE_REASON_BANNED:
return "banned";
+ case TP_CHANNEL_GROUP_CHANGE_REASON_ERROR:
+ return "error";
+ case TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT:
+ return "invalid contact";
+ case TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER:
+ return "no answer";
+ case TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED:
+ return "renamed";
+ case TP_CHANNEL_GROUP_CHANGE_REASON_PERMISSION_DENIED:
+ return "permission denied";
+ case TP_CHANNEL_GROUP_CHANGE_REASON_SEPARATED:
+ return "separated";
default:
return "(unknown reason code)";
}