summaryrefslogtreecommitdiff
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-03 11:10:10 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-10-03 11:10:10 +0200
commit384ac925c41afea86fa9148c363c124ffcb661e7 (patch)
tree0e948be21add881260547b891dd79a2ffcf31f48 /libempathy-gtk
parent71e69f68ae8e7ac926440e454620116661db59b9 (diff)
individual-widget: fix enum casting warning
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index 8193c0a9b..d639deb77 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -1307,7 +1307,8 @@ notify_presence_cb (gpointer folks_object,
g_free (markup_text);
gtk_image_set_from_icon_name (GTK_IMAGE (state_image),
- empathy_icon_name_for_presence (presence),
+ empathy_icon_name_for_presence (
+ empathy_folks_presence_type_to_tp (presence)),
GTK_ICON_SIZE_BUTTON);
out: