]> Dogcows Code - chaz/tint2/commitdiff
Fix crash in launcher at tint2 unload/reload when falling back to the hicolor icon...
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Wed, 8 Jun 2011 17:01:12 +0000 (17:01 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Wed, 8 Jun 2011 17:01:12 +0000 (17:01 +0000)
src/launcher/launcher.c

index 4e7a6f956a6870e676a70dca699657e61967ec30..ef007ecf2976c35be3fbac08e7714aae50ca94c5 100644 (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);
This page took 0.019193 seconds and 4 git commands to generate.