summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-07-24 06:02:38 +0000
committerDana Jansens <danakj@orodu.net>2003-07-24 06:02:38 +0000
commit5be0a82a353b67160142134de1cc51fa31d72759 (patch)
tree333f0e70a6cf4f2cb5252c2e16922a1b6408dc06 /render/theme.c
parent230abdc5a0848cd05dc3a007826a2a6b8a73c0a5 (diff)
use ob_debug for any debug printing and only display the output when its a debug build or when --debug is passed to it
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/render/theme.c b/render/theme.c
index a7da009b..4fc3d6a1 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -63,8 +63,9 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
if (name) {
db = loaddb(theme, name);
if (db == NULL) {
- g_warning("Failed to load the theme '%s'", name);
- g_message("Falling back to the default: '%s'", DEFAULT_THEME);
+ g_warning("Failed to load the theme '%s'\n"
+ "Falling back to the default: '%s'",
+ name, DEFAULT_THEME);
} else
theme->name = g_path_get_basename(name);
}