mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
gtkmm: use get_mapped instead of deprecated Gtk::Widget::is_mapped()
This commit is contained in:
parent
539ef331d1
commit
d52c727ec5
19 changed files with 33 additions and 33 deletions
|
|
@ -1185,7 +1185,7 @@ Editor::generic_event_handler (GdkEvent* ev)
|
|||
case GDK_MOTION_NOTIFY:
|
||||
case GDK_KEY_PRESS:
|
||||
case GDK_KEY_RELEASE:
|
||||
if (contents().is_mapped()) {
|
||||
if (contents().get_mapped()) {
|
||||
gettimeofday (&last_event_time, 0);
|
||||
}
|
||||
break;
|
||||
|
|
@ -4214,7 +4214,7 @@ Editor::set_stationary_playhead (bool yn)
|
|||
bool
|
||||
Editor::show_touched_automation () const
|
||||
{
|
||||
if (!contents().is_mapped()) {
|
||||
if (!contents().get_mapped()) {
|
||||
return false;
|
||||
}
|
||||
return _show_touched_automation;
|
||||
|
|
@ -6179,7 +6179,7 @@ Editor::super_rapid_screen_update ()
|
|||
/* METERING / MIXER STRIPS */
|
||||
|
||||
/* update track meters, if required */
|
||||
if (contents().is_mapped() && meters_running) {
|
||||
if (contents().get_mapped() && meters_running) {
|
||||
RouteTimeAxisView* rtv;
|
||||
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
|
||||
if ((rtv = dynamic_cast<RouteTimeAxisView*>(*i)) != 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue