diff options
author | Danny Baumann <dannybaumann@web.de> | 2007-06-10 11:04:55 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2007-06-10 11:04:55 +0200 |
commit | 650fb3ab21ff09ca02b8185605812812e69f2c04 (patch) | |
tree | 25b825132ddf7cd6b0e1e30aa6038c998e7719e4 /splash.c | |
parent | 3528eefe97e1ad026b98ae13043614f498514427 (diff) | |
download | splash-650fb3ab21ff09ca02b8185605812812e69f2c04.tar.gz splash-650fb3ab21ff09ca02b8185605812812e69f2c04.tar.bz2 |
printf -> compLogMessage
Diffstat (limited to 'splash.c')
-rw-r--r-- | splash.c | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 |