sort export formats & presets in alphabetical name order
[ardour.git] / gtk2_ardour / diamond.cc
index 48c0dd4b680309da4ef5a7f22db91e727c76a23a..eb2f3b82b6e2d407c0bdce4e6a38c876b7c065c5 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2007 Paul Davis 
+    Copyright (C) 2007 Paul Davis
     Author: Dave Robillard
 
     This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,6 @@ Diamond::Diamond(Group& group, double height)
        , _h (height)
 {
        points = gnome_canvas_points_new (4);
-       g_object_set (gobj(), "points", points, NULL);
        move_to (0, 0);
 }
 
@@ -59,7 +58,7 @@ Diamond::move_to (double x, double y)
 
        points->coords[4] = _x;
        points->coords[5] = _y;
-       
+
        points->coords[6] = _x - _h;
        points->coords[7] = _y + _h;