summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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