summaryrefslogtreecommitdiff
path: root/hw/xwin/wmutil
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2012-11-10 14:15:56 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-05-13 18:21:06 +0100
commitcb1b3f04bbeb3caa7f0dd645a1a6ea5698be23fb (patch)
treef4803f1daf6c088581cbd7379e39004e9431854d /hw/xwin/wmutil
parentcfe99ac1dc3902bcb60b09652205213089ef8e44 (diff)
Rename ErrorF()->winError() in icon_convert.c
v2: Add prototype for winError()
Diffstat (limited to 'hw/xwin/wmutil')
-rw-r--r--hw/xwin/wmutil/icon_convert.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/hw/xwin/wmutil/icon_convert.c b/hw/xwin/wmutil/icon_convert.c
index 233cc8391..be9f4e027 100644
--- a/hw/xwin/wmutil/icon_convert.c
+++ b/hw/xwin/wmutil/icon_convert.c
@@ -49,7 +49,6 @@
#include "icon_convert.h"
-extern void ErrorF(const char *f, ...);
extern unsigned long serverGeneration;
/*
@@ -81,8 +80,8 @@ winScaleXImageToWindowsIcon(int iconSize,
xStride = pixmap->stride;
if (stride == 0 || xStride == 0) {
- ErrorF("winScaleXBitmapToWindows - stride or xStride is zero. "
- "Bailing.\n");
+ winError("winScaleXBitmapToWindows - stride or xStride is zero. "
+ "Bailing.\n");
return;
}
@@ -353,8 +352,8 @@ NetWMToWinIcon(int bpp, uint32_t * icon)
dwlConditionMask);
versionChecked = TRUE;
- ErrorF("OS has icon alpha channel support: %s\n",
- hasIconAlphaChannel ? "yes" : "no");
+ winError("OS has icon alpha channel support: %s\n",
+ hasIconAlphaChannel ? "yes" : "no");
}
if (hasIconAlphaChannel && (bpp == 32))