[gnome-boxes] mini-graph: Remove now redundant constructors



commit 132da523a02738a7ddcbb836139e9dde0382e5e3
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Feb 3 13:08:15 2014 +0000

    mini-graph: Remove now redundant constructors

 src/mini-graph.vala |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/mini-graph.vala b/src/mini-graph.vala
index 19479a9..aa4509a 100644
--- a/src/mini-graph.vala
+++ b/src/mini-graph.vala
@@ -20,17 +20,6 @@ private class Boxes.MiniGraph: Gtk.DrawingArea {
     }
     private bool ymax_set = false;
 
-    public MiniGraph (int npoints = -1) {
-        this.points = points;
-        this.npoints = npoints;
-    }
-
-    public MiniGraph.with_ymax (double ymax, int npoints = -1) {
-        this.points = points;
-        this.ymax = ymax;
-        this.npoints = npoints;
-    }
-
     private double max () {
         if (points.length == 0)
             return 1.0;


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