Renamed functions in theme

This commit is contained in:
James Booth
2012-12-08 22:34:16 +00:00
parent 731dabd712
commit 4c243722c6
4 changed files with 6 additions and 6 deletions

View File

@@ -94,7 +94,7 @@ static void _set_colour(gchar *val, NCURSES_COLOR_T *pref,
static void _load_colours(void);
void
theme_load(const char * const theme_name)
theme_init(const char * const theme_name)
{
log_info("Loading theme");
theme = g_key_file_new();
@@ -113,7 +113,7 @@ theme_load(const char * const theme_name)
}
gboolean
theme_change(const char * const theme_name)
theme_load(const char * const theme_name)
{
// use default theme
if (strcmp(theme_name, "default") == 0) {