summaryrefslogtreecommitdiff
path: root/audio/wsoundprefs/files/patch-src-main.c
blob: bdf38adab6d9d585cc7ec75e0616134b770f1e7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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);
 			}
 		}