aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-theme.c')
-rw-r--r--libempathy-gtk/empathy-theme.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme.c b/libempathy-gtk/empathy-theme.c
index 185ad925a..c465ae69a 100644
--- a/libempathy-gtk/empathy-theme.c
+++ b/libempathy-gtk/empathy-theme.c
@@ -414,6 +414,10 @@ empathy_theme_append_event (EmpathyTheme *theme,
EmpathyChatView *view,
const gchar *str)
{
+ if (!EMPATHY_THEME_GET_CLASS(theme)->append_event) {
+ return;
+ }
+
EMPATHY_THEME_GET_CLASS(theme)->append_event (theme, context, view, str);
}