summaryrefslogtreecommitdiff
path: root/x11/wmessage/patches/patch-ad
blob: 13992013de4429a76599bf7f9c29e091fa5fefbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
 		}
 	}