1 |
darkside 09/08/01 01:38:14 |
2 |
|
3 |
Added: xfce4-volstatus-icon-0.1.0-dialogsegfault.diff |
4 |
Log: |
5 |
Switch to EAPI=2 and xfce4.eclass. Add patch for duplicate variable names, bug 278976 |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 xfce-extra/xfce4-volstatus-icon/files/xfce4-volstatus-icon-0.1.0-dialogsegfault.diff |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-volstatus-icon/files/xfce4-volstatus-icon-0.1.0-dialogsegfault.diff?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-volstatus-icon/files/xfce4-volstatus-icon-0.1.0-dialogsegfault.diff?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: xfce4-volstatus-icon-0.1.0-dialogsegfault.diff |
15 |
=================================================================== |
16 |
Index: xfce4-volstatus-icon/xfce-volstatus-dialog.c |
17 |
=================================================================== |
18 |
--- xfce4-volstatus-icon/xfce-volstatus-dialog.c (wersja 3558) |
19 |
+++ xfce4-volstatus-icon/xfce-volstatus-dialog.c (kopia robocza) |
20 |
@@ -287,7 +287,7 @@ |
21 |
xfce_volstatus_dialog_add_drive_to_list(XfceVolstatusDialog *dialog, |
22 |
GHalDrive *drive) |
23 |
{ |
24 |
- GList *icon_list, *volumes, *l; |
25 |
+ GList *icon_list, *volumes, *l, *m; |
26 |
gchar *name; |
27 |
gint w, h; |
28 |
GdkPixbuf *pix = NULL; |
29 |
@@ -325,8 +325,8 @@ |
30 |
|
31 |
pix = NULL; |
32 |
icon_list = ghal_volume_get_icon_list(volume); |
33 |
- for(l = icon_list; !pix && l; l = l->next) |
34 |
- pix = xfce_themed_icon_load((const gchar *)l->data, w); |
35 |
+ for(m = icon_list; !pix && m; m = m->next) |
36 |
+ pix = xfce_themed_icon_load((const gchar *)m->data, w); |
37 |
g_list_foreach(icon_list, (GFunc)g_free, NULL); |
38 |
g_list_free(icon_list); |