diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-status-icon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c index 79e59c5f5..bbb97f410 100644 --- a/src/empathy-status-icon.c +++ b/src/empathy-status-icon.c @@ -138,7 +138,10 @@ status_icon_update_notification (EmpathyStatusIcon *icon) } if (priv->event) { - gchar *message_esc = g_markup_escape_text (priv->event->message, -1); + gchar *message_esc = NULL; + + if (priv->event->message != NULL) + message_esc = g_markup_escape_text (priv->event->message, -1); if (priv->notification) { notify_notification_update (priv->notification, |