no const weirdness
This commit is contained in:
parent
999cf25006
commit
ed1dcb6b48
1 changed files with 1 additions and 2 deletions
|
@ -90,13 +90,12 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name,
|
||||||
g_message("Unable to load the theme '%s'", DEFAULT_THEME);
|
g_message("Unable to load the theme '%s'", DEFAULT_THEME);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
name = DEFAULT_THEME;
|
|
||||||
}
|
}
|
||||||
ps.inst = inst;
|
ps.inst = inst;
|
||||||
|
|
||||||
theme = g_new0(RrTheme, 1);
|
theme = g_new0(RrTheme, 1);
|
||||||
theme->inst = inst;
|
theme->inst = inst;
|
||||||
theme->name = g_strdup(name);
|
theme->name = g_strdup(name ? name : DEFAULT_THEME);
|
||||||
|
|
||||||
theme->a_disabled_focused_max = RrAppearanceNew(inst, 1);
|
theme->a_disabled_focused_max = RrAppearanceNew(inst, 1);
|
||||||
theme->a_disabled_unfocused_max = RrAppearanceNew(inst, 1);
|
theme->a_disabled_unfocused_max = RrAppearanceNew(inst, 1);
|
||||||
|
|
Loading…
Reference in a new issue