File WSoundPrefs-1.1.1-compile.patch of Package wsndpref
--- src/WSoundPrefs.c
+++ src/WSoundPrefs.c
@@ -412,7 +412,7 @@
WMResizeWidget(panel->copyrightL, 448, 20);
WMMoveWidget(panel->copyrightL, 8, 178);
WMSetLabelTextAlignment(panel->copyrightL, WACenter);
- font = WMCreateNormalFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
+ font = WMCreateFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
if (font)
WMSetLabelText(panel->copyrightL, "Copyright \xa9 1999 The Az\xe5rg-r\xfbh");
else {
--- src/main.c
+++ src/main.c
@@ -109,7 +109,7 @@
wwarning(_("could not load image file %s:%s"), path, RMessageForError(RErrorCode));
else {
icon = WMCreatePixmapFromRImage(scr, tmp, 0);
- RDestroyImage(tmp);
+ RReleaseImage(tmp);
if (icon) {
WMSetApplicationIconPixmap(scr, icon);
WMReleasePixmap(icon);