[empathy] use folks_presence_details_get_default_message_from_type
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] use folks_presence_details_get_default_message_from_type
- Date: Thu, 3 Oct 2013 14:11:07 +0000 (UTC)
commit 71e69f68ae8e7ac926440e454620116661db59b9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Oct 3 11:07:02 2013 +0200
use folks_presence_details_get_default_message_from_type
This has been introduced in folks since a while (0.7.1).
Fix a FIXME and remove a enum casting warning.
libempathy-gtk/empathy-individual-widget.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-widget.c b/libempathy-gtk/empathy-individual-widget.c
index 41d9399..8193c0a 100644
--- a/libempathy-gtk/empathy-individual-widget.c
+++ b/libempathy-gtk/empathy-individual-widget.c
@@ -1294,12 +1294,11 @@ notify_presence_cb (gpointer folks_object,
goto out;
}
- /* FIXME: Default messages should be moved into libfolks (bgo#627403) */
message = folks_presence_details_get_presence_message (
FOLKS_PRESENCE_DETAILS (folks_object));
if (TPAW_STR_EMPTY (message))
{
- message = empathy_presence_get_default_message (presence);
+ message = folks_presence_details_get_default_message_from_type (presence);
}
if (message != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]