Fix crashes due to use of an uninitialised set of points.
authorCarl Hetherington <carl@carlh.net>
Sun, 27 Feb 2011 01:58:52 +0000 (01:58 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 27 Feb 2011 01:58:52 +0000 (01:58 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8975 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/diamond.cc

index 57b86250f9539eddce5fe7ab808c7540bfd20e53..eb2f3b82b6e2d407c0bdce4e6a38c876b7c065c5 100644 (file)
@@ -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);
 }