[gnome-boxes/wip/ui-files: 4/4] mini-graph: Remove now redundant constructors
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/wip/ui-files: 4/4] mini-graph: Remove now redundant constructors
- Date: Mon, 3 Feb 2014 20:34:48 +0000 (UTC)
commit 94d297af91eb21310e41f232e37905541232d0ed
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]