]> git.0d.be Git - empathy.git/commitdiff
individual-widget: fix enum casting warning
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 3 Oct 2013 09:10:10 +0000 (11:10 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 3 Oct 2013 09:10:10 +0000 (11:10 +0200)
libempathy-gtk/empathy-individual-widget.c

index 8193c0a9bee0e010b411b379affbf7d69b599e0a..d639deb777dd48c48cc5d7c1a6e57b6b86d26927 100644 (file)
@@ -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: