[gnome-boxes] Use .begin() explicitely



commit 368c52a50309045d9fbd4ec9c4ce0972dde1b16f
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Tue Aug 7 18:25:28 2012 +0200

    Use .begin() explicitely
    
    Fix a few warnings with recent vala.

 src/app.vala    |    6 +++---
 src/wizard.vala |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index 8ee1337..7030c00 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -144,8 +144,8 @@ private class Boxes.App: Boxes.UI {
                 ready (no_items);
             });
 
-            check_cpu_vt_capability ();
-            check_module_kvm_loaded ();
+            check_cpu_vt_capability.begin ();
+            check_module_kvm_loaded.begin ();
         });
 
         application.activate.connect_after ((app) => {
@@ -313,7 +313,7 @@ private class Boxes.App: Boxes.UI {
 
                 foreach (var file in files) {
                     var source = new CollectionSource.with_file (file.get_name ());
-                    add_collection_source (source);
+                    add_collection_source.begin (source);
                 }
             }
         } catch (GLib.Error error) {
diff --git a/src/wizard.vala b/src/wizard.vala
index 122ab37..ee3727d 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -197,7 +197,7 @@ private class Boxes.Wizard: Boxes.UI {
         }
 
         source.save ();
-        App.app.add_collection_source (source);
+        App.app.add_collection_source.begin (source);
         return true;
     }
 



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