a5d8551643
fix bnc#839854, we have to update OBS-URL: https://build.opensuse.org/request/show/199109 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxsession?expand=0&rev=55
35 lines
1.5 KiB
Diff
35 lines
1.5 KiB
Diff
Index: lxsession-0.4.9.3.git20130914/lxsession-db/desktop-files-backend.vala
|
|
===================================================================
|
|
--- lxsession-0.4.9.3.git20130914.orig/lxsession-db/desktop-files-backend.vala
|
|
+++ lxsession-0.4.9.3.git20130914/lxsession-db/desktop-files-backend.vala
|
|
@@ -182,7 +182,7 @@ namespace Lxsession
|
|
{
|
|
KeyFile kf = new KeyFile();
|
|
/* asynchronous call, to get directory entries */
|
|
- var e = yield dir.enumerate_children_async (FileAttribute.STANDARD_NAME,
|
|
+ var e = yield dir.enumerate_children_async (FILE_ATTRIBUTE_STANDARD_NAME,
|
|
0, Priority.DEFAULT);
|
|
while (true)
|
|
{
|
|
@@ -220,16 +220,16 @@ namespace Lxsession
|
|
{
|
|
/* No entry, just pass */;
|
|
}
|
|
- catch (FileError err)
|
|
+ catch (FileError err1)
|
|
{
|
|
- warning (err.message);
|
|
+ warning (err1.message);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- catch (Error err)
|
|
+ catch (Error err2)
|
|
{
|
|
- stderr.printf ("Error: list_files failed: %s\n", err.message);
|
|
+ stderr.printf ("Error: list_files failed: %s\n", err2.message);
|
|
}
|
|
message ("Finishing scanning\n");
|
|
|