[gnome-calculator] Minor code cleanup



commit c9051486ea97d99b27aeee08482306e75a814e76
Author: Robert Roth <robert roth off gmail com>
Date:   Fri Oct 21 19:19:22 2016 +0300

    Minor code cleanup

 lib/number.vala |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/lib/number.vala b/lib/number.vala
index 8dc72d0..49e8af2 100644
--- a/lib/number.vala
+++ b/lib/number.vala
@@ -1037,14 +1037,6 @@ public class Number : Object
         res.multiply_mpreal (op, scale);
     }
 
-    private Number from_radians (AngleUnit unit)
-    {
-        var z = new Number ();
-        mpc_from_radians (z.num, num, unit);
-        return z;
-    }
-
-
     /* Convert x to radians */
     private Number to_radians (AngleUnit unit)
     {


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