aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-log-source.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-log-source.c')
-rw-r--r--libempathy/empathy-log-source.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libempathy/empathy-log-source.c b/libempathy/empathy-log-source.c
index 6a5e5b3b0..4080d5a6c 100644
--- a/libempathy/empathy-log-source.c
+++ b/libempathy/empathy-log-source.c
@@ -44,6 +44,15 @@ empathy_log_source_get_type (void)
return type;
}
+const gchar *
+empathy_log_source_get_name (EmpathyLogSource *self)
+{
+ if (!EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_name)
+ return NULL;
+
+ return EMPATHY_LOG_SOURCE_GET_INTERFACE (self)->get_name (self);
+}
+
gboolean
empathy_log_source_exists (EmpathyLogSource *self,
McAccount *account,