aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-status-presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-status-presets.c')
-rw-r--r--libempathy/empathy-status-presets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy/empathy-status-presets.c b/libempathy/empathy-status-presets.c
index 54f7b629c..89b1874f3 100644
--- a/libempathy/empathy-status-presets.c
+++ b/libempathy/empathy-status-presets.c
@@ -130,7 +130,7 @@ status_presets_file_parse (const gchar *filename)
state_str = (gchar *) xmlGetProp (node, "presence");
if (state_str) {
- state = empathy_presence_state_from_str (state_str);
+ state = empathy_presence_from_str (state_str);
if (is_default) {
empathy_debug (DEBUG_DOMAIN,
@@ -215,7 +215,7 @@ status_presets_file_save (void)
xmlNodePtr subnode;
xmlChar *state;
- state = (gchar*) empathy_presence_state_to_str (default_preset->state);
+ state = (gchar*) empathy_presence_to_str (default_preset->state);
subnode = xmlNewTextChild (root, NULL, "default",
default_preset->status);
@@ -228,7 +228,7 @@ status_presets_file_save (void)
xmlChar *state;
sp = l->data;
- state = (gchar*) empathy_presence_state_to_str (sp->state);
+ state = (gchar*) empathy_presence_to_str (sp->state);
count[sp->state]++;
if (count[sp->state] > STATUS_PRESETS_MAX_EACH) {