summaryrefslogtreecommitdiff
path: root/x11/wmessage/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'x11/wmessage/patches/patch-ad')
-rw-r--r--x11/wmessage/patches/patch-ad22
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/wmessage/patches/patch-ad b/x11/wmessage/patches/patch-ad
new file mode 100644
index 00000000000..13992013de4
--- /dev/null
+++ b/x11/wmessage/patches/patch-ad
@@ -0,0 +1,22 @@
+$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);
+ }
+ }