aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-29 22:46:24 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-29 22:50:38 +0800
commit1bcccdbc977cc35af2edccc9b222d53a63a8c0b6 (patch)
treebb4e20bed2328278f89eaa3f84d21e656b774990 /libempathy/empathy-utils.c
parente5a8856fbc12280af273c8329ee08ba4e6e3a044 (diff)
downloadgsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.gz
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.bz2
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.lz
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.xz
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.zst
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.zip
Add a utility function to may protocols to their icons
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 525f2fe06..fe54ce85a 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -363,6 +363,12 @@ empathy_uint_compare (gconstpointer a,
return *(guint *) a - *(guint *) b;
}
+gchar *
+empathy_protocol_icon_name (const gchar *protocol)
+{
+ return g_strdup_printf ("im-%s", protocol);
+}
+
GType
empathy_type_dbus_ao (void)
{