diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-28 22:36:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-11-28 22:36:26 +0000 |
commit | 2b49b2433b6dc06a52b0848af62373c747f18ac9 (patch) | |
tree | 10456e452edb340f68a1229afa5af9aadd3ba11b /gtk2_ardour/audio_time_axis.cc | |
parent | d6a27c9537926e4ec7bd3371da97a2d1f85b6e86 (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/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 1c25863e23..1f7f813a47 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -500,12 +500,10 @@ AudioTimeAxisView::show_timestretch (jack_nframes_t start, jack_nframes_t end) x2 = (end - 1) / editor.get_current_zoom(); y2 = height - 2; - gtk_object_set (GTK_OBJECT(timestretch_rect), - "x1", x1, - "y1", 1.0, - "x2", x2, - "y2", y2, - NULL); + timestretch_rect->property_x1() = x1; + timestretch_rect->property_y1() = 1.0; + timestretch_rect->property_x2() = x2; + timestretch_rect->property_y2() = y2; } void |