[gnome-boxes] Minor refactoring that also fixes an error from CC



commit 06f0908fa3159df2ce7e652f9306fb652d0ceefc
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Oct 24 23:36:44 2011 +0300

    Minor refactoring that also fixes an error from CC

 src/app.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index 9e52118..cc0149b 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -92,6 +92,11 @@ private class Boxes.App: Boxes.UI {
         }
 
         var dir = File.new_for_path (get_pkgconfig_source ());
+
+        get_sources_from_dir (dir);
+    }
+
+    private async void get_sources_from_dir (File dir) {
         try {
             var enumerator = yield dir.enumerate_children_async (FILE_ATTRIBUTE_STANDARD_NAME,
                                                                  0, Priority.DEFAULT);



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