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