File WSoundPrefs-1.1.1-IconImage.patch of Package wsndpref

--- src/WSoundPrefs.c
+++ src/WSoundPrefs.c
@@ -378,7 +378,7 @@
 		WMResizeWidget(panel->iconL, 72, 72);
 		WMMoveWidget(panel->iconL, 82, 10);
 		WMSetLabelImagePosition(panel->iconL, WIPImageOnly);
-		WMSetLabelImage(panel->iconL, WMGetApplicationIconImage(scr));
+		WMSetLabelImage(panel->iconL, WMGetApplicationIconPixmap(scr));
 		
 		/* Title */
 		panel->titleL = WMCreateLabel(panel->aboutF);
--- src/main.c
+++ src/main.c
@@ -111,7 +111,7 @@
 			icon = WMCreatePixmapFromRImage(scr, tmp, 0);
 			RDestroyImage(tmp);
 			if (icon) {
-				WMSetApplicationIconImage(scr, icon);
+				WMSetApplicationIconPixmap(scr, icon);
 				WMReleasePixmap(icon);
 			}
 		}
openSUSE Build Service is sponsored by