log: removed DEBUG() and FATAL()

Use GLib the logging functions g_debug(), g_error() instead.
This commit is contained in:
Max Kellermann
2009-03-15 18:23:00 +01:00
parent 9e30dfb9c1
commit a899c210b9
9 changed files with 22 additions and 49 deletions

View File

@@ -168,9 +168,9 @@ initialize_decoder_and_player(void)
if (param != NULL) {
perc = strtod(param->value, &test);
if (*test != '%' || perc < 0 || perc > 100) {
FATAL("buffered before play \"%s\" is not a positive "
"percentage and less than 100 percent, line %i"
"\n", param->value, param->line);
g_error("buffered before play \"%s\" is not a positive "
"percentage and less than 100 percent, line %i",
param->value, param->line);
}
} else
perc = DEFAULT_BUFFER_BEFORE_PLAY;