Switched to use libgnomecanvas (not the C++ one).
[ardour.git] / gtk2_ardour / gain_automation_time_axis.cc
index 2f739e0fad2232a87642f6ed9d78adab791c046f..13b710b157472562147c2aebfe080ce5de8a4743 100644 (file)
@@ -43,11 +43,11 @@ GainAutomationTimeAxisView::~GainAutomationTimeAxisView ()
 }
 
 void
-GainAutomationTimeAxisView::add_automation_event (GtkCanvasItem* item, GdkEvent* event, jack_nframes_t when, double y)
+GainAutomationTimeAxisView::add_automation_event (GnomeCanvasItem* item, GdkEvent* event, jack_nframes_t when, double y)
 {
        double x = 0;
 
-       gtk_canvas_item_w2i (canvas_display, &x, &y);
+       gnome_canvas_item_w2i (canvas_display, &x, &y);
 
        /* compute vertical fractional position */