]> git.pld-linux.org Git - packages/WSoundPrefs.git/blob - WSoundPrefs-api.patch
- dropped pre-cvs changelog
[packages/WSoundPrefs.git] / WSoundPrefs-api.patch
1 diff -ur WSoundPrefs-1.1.2.orig/src/WSoundPrefs.c WSoundPrefs-1.1.2/src/WSoundPrefs.c
2 --- WSoundPrefs-1.1.2.orig/src/WSoundPrefs.c    2001-01-28 17:16:57.000000000 +0100
3 +++ WSoundPrefs-1.1.2/src/WSoundPrefs.c 2004-11-07 20:42:37.190121560 +0100
4 @@ -407,7 +407,7 @@
5                 WMResizeWidget(panel->copyrightL, 448, 20);
6                 WMMoveWidget(panel->copyrightL, 8, 178);
7                 WMSetLabelTextAlignment(panel->copyrightL, WACenter);
8 -               font = WMCreateNormalFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
9 +               font = WMCreateFont(scr, "-*-helvetica-medium-r-normal-*-10-*-*-*-*-*-*-*");
10                 if (font)
11                         WMSetLabelText(panel->copyrightL, "Copyright \xa9 1999 The Az\xe5rg-r\xfbh");
12                 else {
13 diff -ur WSoundPrefs-1.1.2.orig/src/main.c WSoundPrefs-1.1.2/src/main.c
14 --- WSoundPrefs-1.1.2.orig/src/main.c   2001-01-28 17:21:22.000000000 +0100
15 +++ WSoundPrefs-1.1.2/src/main.c        2004-11-07 20:43:03.789077904 +0100
16 @@ -109,7 +109,7 @@
17                         wwarning(_("could not load image file %s:%s"), path, RMessageForError(RErrorCode));
18                 else {
19                         icon = WMCreatePixmapFromRImage(scr, tmp, 0);
20 -                       RDestroyImage(tmp);
21 +                       RReleaseImage(tmp);
22                         if (icon) {
23                                 WMSetApplicationIconImage(scr, icon);
24                                 WMReleasePixmap(icon);
This page took 0.097624 seconds and 3 git commands to generate.