View | Details | Raw Unified | Return to bug 79746 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-src::WSoundPrefs.c (+20 lines)
Added Link Here
1
--- src/WSoundPrefs.c.orig	Sat Mar  4 21:46:11 2000
2
+++ src/WSoundPrefs.c	Sun Apr 10 21:37:11 2005
3
@@ -378,7 +378,7 @@
4
 		WMResizeWidget(panel->iconL, 72, 72);
5
 		WMMoveWidget(panel->iconL, 82, 10);
6
 		WMSetLabelImagePosition(panel->iconL, WIPImageOnly);
7
-		WMSetLabelImage(panel->iconL, WMGetApplicationIconImage(scr));
8
+		WMSetLabelImage(panel->iconL, WMGetApplicationIconPixmap(scr));
9
 		
10
 		/* Title */
11
 		panel->titleL = WMCreateLabel(panel->aboutF);
12
@@ -407,7 +407,7 @@
13
 		WMResizeWidget(panel->copyrightL, 448, 20);
14
 		WMMoveWidget(panel->copyrightL, 8, 178);
15
 		WMSetLabelTextAlignment(panel->copyrightL, WACenter);
16
-		font = WMCreateNormalFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
17
+		font = WMCreateFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
18
 		if (font)
19
 			WMSetLabelText(panel->copyrightL, "Copyright \xa9 1999 The Az\xe5rg-r\xfbh");
20
 		else {
(-)files/patch-src::main.c (+14 lines)
Added Link Here
1
--- src/main.c.orig	Mon Jun 14 17:28:23 1999
2
+++ src/main.c	Sun Apr 10 20:51:47 2005
3
@@ -109,9 +109,9 @@
4
 			wwarning(_("could not load image file %s:%s"), path, RMessageForError(RErrorCode));
5
 		else {
6
 			icon = WMCreatePixmapFromRImage(scr, tmp, 0);
7
-			RDestroyImage(tmp);
8
+			RReleaseImage(tmp);
9
 			if (icon) {
10
-				WMSetApplicationIconImage(scr, icon);
11
+				WMSetApplicationIconPixmap(scr, icon);
12
 				WMReleasePixmap(icon);
13
 			}
14
 		}

Return to bug 79746