fix warning (missing static)

This commit is contained in:
Daniel Micay 2012-11-14 19:42:55 -05:00
parent 953017068d
commit ab403a8eb8
1 changed files with 2 additions and 1 deletions

View File

@ -910,7 +910,8 @@ static bool get_config_color(GKeyFile *config, const char *section, const char *
return success; return success;
} }
maybe<cairo_pattern_t *> get_config_cairo_color(GKeyFile *config, const char *group, const char *key) { static maybe<cairo_pattern_t *>
get_config_cairo_color(GKeyFile *config, const char *group, const char *key) {
maybe<cairo_pattern_t *> ret = {}; maybe<cairo_pattern_t *> ret = {};
if (auto s = get_config_string(config, group, key)) { if (auto s = get_config_string(config, group, key)) {