aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-status-presets.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2007-12-03 06:38:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-12-03 06:38:02 +0800
commit7bf5562a19ecac3c59dc23ebe507112e2745b635 (patch)
tree9fccd6613f968d0fc40b518399d7858cb3c609fe /libempathy-gtk/empathy-status-presets.c
parentd54baf1615b3d019878f7dac66303de77737a6f0 (diff)
downloadgsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.tar
gsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.tar.gz
gsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.tar.bz2
gsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.tar.lz
gsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.tar.xz
gsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.tar.zst
gsoc2013-empathy-7bf5562a19ecac3c59dc23ebe507112e2745b635.zip
Conflicts:
ChangeLog svn path=/trunk/; revision=455
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 ();