ports/audio/wsoundprefs/files/patch-src-WSoundPrefs.c
Pav Lucistnik 5155c1f383 - link against fontconfig [1] and libXft [2]
- misc WM api changes [1] and [2]
- XClearArea -> XFillRectangle with gray [1] because XClearArea is for Window
  not Drawable (was causing X BadWindow error)

  [1] me
  [2] ports/75000 Serge Gagnon <ser_gagnon@sympatico.ca>

If you hit "play" with a nonexistant file, the program dies - but apart from
that it's now functional again.

PR:		ports/79746
Submitted by:	Sam Lawrance <boris@brooknet.com.au>
2005-04-10 16:35:23 +00:00

20 lines
895 B
C

--- src/WSoundPrefs.c.orig Sat Mar 4 21:46:11 2000
+++ src/WSoundPrefs.c Sun Apr 10 21:37:11 2005
@@ -378,7 +378,7 @@
WMResizeWidget(panel->iconL, 72, 72);
WMMoveWidget(panel->iconL, 82, 10);
WMSetLabelImagePosition(panel->iconL, WIPImageOnly);
- WMSetLabelImage(panel->iconL, WMGetApplicationIconImage(scr));
+ WMSetLabelImage(panel->iconL, WMGetApplicationIconPixmap(scr));
/* Title */
panel->titleL = WMCreateLabel(panel->aboutF);
@@ -407,7 +407,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 {