[gnome-boxes] app: Remove a now redundant null check



commit f7ba9bf55ca7e2f891c901bada7d33505fb35568
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 15 19:24:54 2016 +0000

    app: Remove a now redundant null check
    
    We moved setup of default source into a separate function a while ago
    and it's called before setup_sources() so there is no need to check for
    default source being properly setup at this stage anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=760692

 src/app.vala |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index 784544a..c4d7ffa 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -458,11 +458,6 @@ private class Boxes.App: Gtk.Application {
 
         foreach (var source in new_sources)
             yield add_collection_source (source);
-
-        if (default_connection == null) {
-            printerr ("Missing or failing default libvirt connection\n");
-            release (); // will end application
-        }
     }
 
     private void suspend_machines () {


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