]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-status-presets.c
include telepathy-glib.h
[empathy.git] / libempathy / empathy-status-presets.c
index 255f7ab211e9bb71ec23ab1b424a7d275b625358..940253343c51dde5af430738c329bead1c1cb055 100644 (file)
@@ -32,8 +32,6 @@
 #include <libxml/parser.h>
 #include <libxml/tree.h>
 
-#include <telepathy-glib/util.h>
-
 #include "empathy-utils.h"
 #include "empathy-status-presets.h"
 
@@ -431,6 +429,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;
 }