Obey snap setting for MIDI stuff.
[ardour.git] / gtk2_ardour / imageframe_time_axis.cc
index 84229447797a2322b2a25985b42dd8f18537c3e7..018fae68959e169c849bd65171cd050d64cfaa09 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #include <string>
@@ -47,6 +46,7 @@
 #include "i18n.h"
 
 using namespace ARDOUR;
+using namespace PBD;
 using namespace sigc;
 using namespace Gtk;
 
@@ -64,8 +64,6 @@ ImageFrameTimeAxis::ImageFrameTimeAxis(const string & track_id, PublicEditor& ed
 {
        _color = unique_random_color() ;
        
-       //GTK2FIX -- how to get the group? is the canvas display really a group?
-       //selection_group = gnome_canvas_item_new (GNOME_CANVAS_GROUP(canvas_display), gnome_canvas_group_get_type (), NULL) ;
        selection_group = new ArdourCanvas::Group (*canvas_display);
        selection_group->hide();