summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker_time_axis_view.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-11-28 22:36:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-11-28 22:36:26 +0000
commit2b49b2433b6dc06a52b0848af62373c747f18ac9 (patch)
tree10456e452edb340f68a1229afa5af9aadd3ba11b /gtk2_ardour/marker_time_axis_view.cc
parentd6a27c9537926e4ec7bd3371da97a2d1f85b6e86 (diff)
mega commit to remove gtk_object cruft, and much other stuff
git-svn-id: svn://localhost/trunk/ardour2@139 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker_time_axis_view.cc')
-rw-r--r--gtk2_ardour/marker_time_axis_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/marker_time_axis_view.cc b/gtk2_ardour/marker_time_axis_view.cc
index 53010300b1..e08f581951 100644
--- a/gtk2_ardour/marker_time_axis_view.cc
+++ b/gtk2_ardour/marker_time_axis_view.cc
@@ -95,13 +95,13 @@ MarkerTimeAxisView::~MarkerTimeAxisView()
if(canvas_rect)
{
- gtk_object_destroy(GTK_OBJECT(canvas_rect)) ;
+ delete canvas_rect;
canvas_rect = 0 ;
}
if(canvas_group)
{
- gtk_object_destroy(GTK_OBJECT(canvas_group)) ;
+ delete canvas_group;
canvas_group = 0 ;
}
}
@@ -123,7 +123,7 @@ MarkerTimeAxisView::set_height(gdouble h)
return -1 ;
}
- gtk_object_set (GTK_OBJECT(canvas_rect), "y2", h, NULL);
+ canvas_rect->property_y2() = h;
for (MarkerViewList::iterator i = marker_view_list.begin(); i != marker_view_list.end(); ++i)
{