mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 17:10:33 -04:00
- 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>
14 lines
443 B
C
14 lines
443 B
C
--- src/main.c.orig Mon Jun 14 17:28:23 1999
|
|
+++ src/main.c Sun Apr 10 20:51:47 2005
|
|
@@ -109,9 +109,9 @@
|
|
wwarning(_("could not load image file %s:%s"), path, RMessageForError(RErrorCode));
|
|
else {
|
|
icon = WMCreatePixmapFromRImage(scr, tmp, 0);
|
|
- RDestroyImage(tmp);
|
|
+ RReleaseImage(tmp);
|
|
if (icon) {
|
|
- WMSetApplicationIconImage(scr, icon);
|
|
+ WMSetApplicationIconPixmap(scr, icon);
|
|
WMReleasePixmap(icon);
|
|
}
|
|
}
|