aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-status-presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-status-presets.c')
-rw-r--r--libempathy-gtk/empathy-status-presets.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-status-presets.c b/libempathy-gtk/empathy-status-presets.c
index 502772228..13b71bc75 100644
--- a/libempathy-gtk/empathy-status-presets.c
+++ b/libempathy-gtk/empathy-status-presets.c
@@ -32,6 +32,8 @@
#include <libxml/parser.h>
#include <libxml/tree.h>
+#include <telepathy-glib/util.h>
+
#include <libempathy/empathy-debug.h>
#include <libempathy/empathy-utils.h>
@@ -293,7 +295,7 @@ empathy_status_presets_set_last (McPresence state,
preset = l->data;
if (state == preset->state &&
- !empathy_strdiff (status, preset->status)) {
+ !tp_strdiff (status, preset->status)) {
return;
}
}
@@ -332,7 +334,7 @@ empathy_status_presets_remove (McPresence state,
preset = l->data;
if (state == preset->state &&
- !empathy_strdiff (status, preset->status)) {
+ !tp_strdiff (status, preset->status)) {
status_preset_free (preset);
presets = g_list_delete_link (presets, l);
status_presets_file_save ();