[gnome-calculator] Fixed CI build



commit 74ee52c4e1ce8f888bf4c0d038d644e36f8041e1
Author: Robert Roth <robert roth off gmail com>
Date:   Tue Jan 12 11:36:03 2021 +0200

    Fixed CI build

 .gitlab-ci.yml    | 2 +-
 lib/currency.vala | 9 +--------
 2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 18329fb9..41cbd70b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,7 +25,7 @@
   stage: test
   script:
     - broadwayd &
-    - GDK_BACKEND=broadway ninja -C _build test
+    - GDK_BACKEND=broadway ninja -C _build install test
 
 build:fedora:
   <<: *fedora_before_script
diff --git a/lib/currency.vala b/lib/currency.vala
index f8af1702..0ee65563 100644
--- a/lib/currency.vala
+++ b/lib/currency.vala
@@ -27,14 +27,7 @@ public class CurrencyManager : Object
             return default_currency_manager;
 
         default_currency_manager = new CurrencyManager ();
-        try
-        {
-            default_currency_manager.refresh_interval = new Settings ("org.gnome.calculator").get_int 
("refresh-interval");
-        }
-        catch (Error e)
-        {
-            warning ("Failed to read refresh interval from settings: %s", e.message);
-        }
+        default_currency_manager.refresh_interval = new Settings ("org.gnome.calculator").get_int 
("refresh-interval");
         default_currency_manager.currencies.append (new Currency ("AED", _("UAE Dirham"), "إ.د"));
         default_currency_manager.currencies.append (new Currency ("AUD", _("Australian Dollar"), "$"));
         default_currency_manager.currencies.append (new Currency ("BDT", _("Bangladeshi Taka"), "৳"));


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