aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-status-presets.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/empathy-status-presets.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/empathy-status-presets.c')
-rw-r--r--libempathy/empathy-status-presets.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy/empathy-status-presets.c b/libempathy/empathy-status-presets.c
index 255f7ab21..319ca53d9 100644
--- a/libempathy/empathy-status-presets.c
+++ b/libempathy/empathy-status-presets.c
@@ -431,6 +431,8 @@ empathy_status_presets_is_valid (TpConnectionPresenceType state)
case TP_CONNECTION_PRESENCE_TYPE_HIDDEN:
case TP_CONNECTION_PRESENCE_TYPE_BUSY:
return TRUE;
+
+ default:
+ return FALSE;
}
- return FALSE;
}