[gnome-boxes] iso-extractor: Remove now redundant enumerate_children()



commit 496d38c66ff9d9184a7bcedf5992f62a245850fe
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Dec 5 17:33:01 2012 +0200

    iso-extractor: Remove now redundant enumerate_children()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676537

 src/iso-extractor.vala |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/iso-extractor.vala b/src/iso-extractor.vala
index 6e9bb64..56ca565 100644
--- a/src/iso-extractor.vala
+++ b/src/iso-extractor.vala
@@ -41,15 +41,6 @@ private class Boxes.ISOExtractor: GLib.Object {
         mounted = true;
     }
 
-    public async GLib.FileEnumerator enumerate_children (string rel_path, Cancellable? cancellable) throws GLib.Error
-                                                         requires (mounted) {
-
-        string abs_src_path = Path.build_filename (mount_point, rel_path);
-        File dir = File.new_for_path (abs_src_path);
-
-        return yield dir.enumerate_children_async (FileAttribute.STANDARD_NAME, 0, GLib.Priority.DEFAULT, cancellable);
-    }
-
     public string get_absolute_path (string relative_path) throws GLib.Error
                                      requires (mounted) {
         return Path.build_filename (mount_point, relative_path);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]