pkgsrc/x11/wmessage/patches/patch-ad
wiz 17e822fb3e Update to 0.10. Also make it work with latest windowmaker.
Patches mostly by Ben Wong from pkg/13378.
Changes seem only to be other changes to keep up with windowmaker.
2001-07-23 20:38:48 +00:00

22 lines
644 B
Text

$NetBSD: patch-ad,v 1.1 2001/07/23 20:38:48 wiz Exp $
--- wmessage.c.orig Mon Jan 10 06:47:21 2000
+++ wmessage.c
@@ -247,7 +247,7 @@
icon = WMCreatePixmapFromRImage(scrPtr, tmp, 0);
RDestroyImage(tmp);
if (icon) {
- WMSetApplicationIconImage(scrPtr, icon);
+ WMSetApplicationIconPixmap(scrPtr, icon);
WMReleasePixmap(icon);
} else
if (settings->warnings == True)
@@ -279,7 +279,7 @@
setAppIcon (scr, settings->icon);
} else {
pixmap = WMCreatePixmapFromXPMData(scr, GNUSTEP_XPM);
- WMSetApplicationIconImage(scr, pixmap);
+ WMSetApplicationIconPixmap(scr, pixmap);
WMReleasePixmap(pixmap);
}
}