From 4e0f97a1942d1ae0b4b3846d43e3769fdb076b44 Mon Sep 17 00:00:00 2001 From: Marco Barisione Date: Mon, 6 May 2013 14:39:09 +0100 Subject: tpaw-utils: move functions for protocol and service display information The following functions were moved from empathy to tp-aw and renamed accordingly: * empathy_protocol_icon_name; * empathy_protocol_name_to_display_name; * empathy_service_name_to_display_name. This commit also changes the licence of the moved code (all copyrighted by Collabora Ltd.) from GPL to LGPL. https://bugzilla.gnome.org/show_bug.cgi?id=699492 --- libempathy-gtk/empathy-theme-adium.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-theme-adium.c') diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 31715c305..d5b935681 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -23,6 +23,7 @@ #include "empathy-theme-adium.h" #include +#include #include "empathy-gsettings.h" #include "empathy-images.h" @@ -901,7 +902,7 @@ theme_adium_add_message (EmpathyThemeAdium *self, /* Get information */ sender = empathy_message_get_sender (msg); account = empathy_contact_get_account (sender); - service_name = empathy_protocol_name_to_display_name + service_name = tpaw_protocol_name_to_display_name (tp_account_get_protocol_name (account)); if (service_name == NULL) service_name = tp_account_get_protocol_name (account); -- cgit v1.2.3