[gnome-games] utils: Remove the unused Directory.try_next_file()
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] utils: Remove the unused Directory.try_next_file()
- Date: Sun, 14 Aug 2016 13:21:23 +0000 (UTC)
commit b53dc5e5aaa61232ee7818ca8bc066fcab2e7bdd
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sat Aug 13 15:57:59 2016 +0200
utils: Remove the unused Directory.try_next_file()
This fixes a compile time warning.
https://bugzilla.gnome.org/show_bug.cgi?id=769844
src/utils/directory.vala | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/utils/directory.vala b/src/utils/directory.vala
index 583fc79..1b15584 100644
--- a/src/utils/directory.vala
+++ b/src/utils/directory.vala
@@ -15,15 +15,4 @@ public class Games.Directory : Object {
if (file_info_test (file_info))
return;
}
-
- private FileInfo? try_next_file (FileEnumerator enumerator) {
- try {
- return enumerator.next_file ();
- }
- catch (Error e) {
- debug (e.message);
-
- return null;
- }
- }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]