Fix crash in launcher at tint2 unload/reload when falling back to the hicolor icon theme

git-svn-id: http://tint2.googlecode.com/svn/trunk@637 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
o9000 2011-06-08 17:01:12 +00:00 committed by mrovi@interfete-web-club.com
parent 720ced62f3
commit e18f8443fb

View file

@ -701,7 +701,7 @@ void launcher_load_themes(Launcher *launcher)
// avoid inheritance loops
if (!icon_theme_name) {
fprintf(stderr, "Missing launcher theme, default to 'hicolor'.\n");
icon_theme_name = "hicolor";
icon_theme_name = strdup("hicolor");
}
else
fprintf(stderr, "Loading %s. Icon theme :", icon_theme_name);