mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
theme: print to log not to console
Seems this can cause trouble in case we cant use the theme properly.
This commit is contained in:
parent
e408e988a7
commit
7d7a49f132
@ -52,7 +52,6 @@
|
|||||||
#include "config/theme.h"
|
#include "config/theme.h"
|
||||||
#include "config/preferences.h"
|
#include "config/preferences.h"
|
||||||
#include "config/color.h"
|
#include "config/color.h"
|
||||||
#include "ui/ui.h"
|
|
||||||
|
|
||||||
static GString *theme_loc;
|
static GString *theme_loc;
|
||||||
static GKeyFile *theme;
|
static GKeyFile *theme;
|
||||||
@ -810,7 +809,7 @@ theme_attrs(theme_item_t attrs)
|
|||||||
// lookup colour pair
|
// lookup colour pair
|
||||||
result = color_pair_cache_get(lookup_str->str);
|
result = color_pair_cache_get(lookup_str->str);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
cons_show("Unable to load colour theme");
|
log_error("Unable to load colour theme");
|
||||||
result = 0;
|
result = 0;
|
||||||
}
|
}
|
||||||
g_string_free(lookup_str, TRUE);
|
g_string_free(lookup_str, TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user