Ori Bernstein wrote:
>>Hm, cannot reproduce it here, and it's somewhat unlikely, since
>>libxfce4util strips off empty paths. Are you sure that its crashing
>>inside Thunar code, not inside GTK+ code?
>
> Instead of studying for exams, I've been poking around in it with GDB. The
> crash
> is definitely in Thunar code.
Hm, indeed, XfceResource is broken (I thought I fixed that). Can you try
the attached patch for libxfce4util, so we can get it into BETA1?
Benedikt
Index: libxfce4util/xfce-resource.c
===================================================================
--- libxfce4util/xfce-resource.c (revision 20949)
+++ libxfce4util/xfce-resource.c (working copy)
@@ -81,7 +81,10 @@
dirs = g_strsplit (dir_list, ":", -1);
for (n = 0; dirs[n] != NULL; ++n)
{
- _list[type] = g_list_append (_list[type], dirs[n]);
+ if (g_path_is_absolute (dirs[n]))
+ _list[type] = g_list_append (_list[type], dirs[n]);
+ else
+ g_free (dirs[n]);
}
g_free (dirs);
}
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev