aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 0efe3a180..25624bf00 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -34,7 +34,6 @@
#include <math.h>
#include "empathy-client-factory.h"
-#include "empathy-presence-manager.h"
#include "extensions.h"
#include <math.h>
@@ -422,23 +421,6 @@ empathy_file_lookup (const gchar *filename, const gchar *subdir)
return path;
}
-gboolean
-empathy_check_available_state (void)
-{
- TpConnectionPresenceType presence;
- EmpathyPresenceManager *presence_mgr;
-
- presence_mgr = empathy_presence_manager_dup_singleton ();
- presence = empathy_presence_manager_get_state (presence_mgr);
- g_object_unref (presence_mgr);
-
- if (presence != TP_CONNECTION_PRESENCE_TYPE_AVAILABLE &&
- presence != TP_CONNECTION_PRESENCE_TYPE_UNSET)
- return FALSE;
-
- return TRUE;
-}
-
gint
empathy_uint_compare (gconstpointer a,
gconstpointer b)