diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 0cf74e396..ba359ceb1 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -732,6 +732,9 @@ theme_adium_add_html (EmpathyThemeAdium *self, bytes = g_resources_lookup_data ("/org/gnome/Empathy/Chat/empathy-chat.js", G_RESOURCE_LOOKUP_FLAGS_NONE, NULL); + if (bytes == NULL) + return; + js = (const gchar *) g_bytes_get_data (bytes, NULL); g_string_prepend (string, js); g_bytes_unref (bytes); |