summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-06-10 11:04:55 +0200
committerDanny Baumann <dannybaumann@web.de>2007-06-10 11:04:55 +0200
commit650fb3ab21ff09ca02b8185605812812e69f2c04 (patch)
tree25b825132ddf7cd6b0e1e30aa6038c998e7719e4
parent3528eefe97e1ad026b98ae13043614f498514427 (diff)
downloadsplash-650fb3ab21ff09ca02b8185605812812e69f2c04.tar.gz
splash-650fb3ab21ff09ca02b8185605812812e69f2c04.tar.bz2
printf -> compLogMessage
-rw-r--r--splash.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/splash.c b/splash.c
index b459bb0..27e10eb 100644
--- a/splash.c
+++ b/splash.c
@@ -141,9 +141,9 @@ splashPreparePaintScreen (CompScreen * s, int ms)
&ss->backSize[0], &ss->backSize[1]);
if (ss->hasBack)
{
- fprintf (stderr,
- "[SPLASH]: Could not load splash background image \"%s\" using default!\n",
- splashGetBackground (d));
+ compLogMessage (d, "splash", CompLogLevelWarn,
+ "Could not load splash background image \"%s\" using default!",
+ splashGetBackground (d));
}
}
if (!ss->hasLogo)
@@ -154,19 +154,19 @@ splashPreparePaintScreen (CompScreen * s, int ms)
&ss->logoSize[0], &ss->logoSize[1]);
if (ss->hasLogo)
{
- fprintf (stderr,
- "[SPLASH]: Could not load splash logo image \"%s\" using default!\n",
- splashGetLogo (d));
+ compLogMessage (d, "splash", CompLogLevelWarn,
+ "Could not load splash logo image \"%s\" using default!",
+ splashGetLogo (d));
}
}
if (!ss->hasBack)
- fprintf (stderr,
- "[SPLASH]: Could not load splash background image \"%s\" !\n",
- splashGetBackground (d));
+ compLogMessage (d, "splash", CompLogLevelWarn,
+ "Could not load splash background image \"%s\" !",
+ splashGetBackground (d));
if (!ss->hasLogo)
- fprintf (stderr,
- "[SPLASH]: Could not load splash logo image \"%s\" !\n",
- splashGetLogo (d));
+ compLogMessage (d, "splash", CompLogLevelWarn,
+ "Could not load splash logo image \"%s\" !",
+ splashGetLogo (d));
}
}
else