aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-theme-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index 79bc5384d..d615611a7 100644
--- a/libempathy-gtk/empathy-theme-manager.c
+++ b/libempathy-gtk/empathy-theme-manager.c
@@ -380,6 +380,10 @@ theme_manager_notify_name_cb (EmpathyConf *conf,
if (!empathy_conf_get_string (conf, key, &name) ||
!theme_manager_ensure_theme_exists (name) ||
!tp_strdiff (priv->name, name)) {
+ if (!priv->name) {
+ priv->name = g_strdup ("classic");
+ }
+
g_free (name);
return;
}