mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Use new YTKMM API instead of ytk+
This commit is contained in:
parent
5f12554b56
commit
44ceb91e52
2 changed files with 6 additions and 6 deletions
|
|
@ -1721,7 +1721,7 @@ Editor::region_selection_changed ()
|
|||
assert (rv);
|
||||
maybe_edit_region_in_bottom_pane (*rv);
|
||||
} else {
|
||||
gtk_box_set_child_packing (GTK_BOX(_bottom_hbox.gobj()), GTK_WIDGET(_properties_box->gobj()), true, true, 0, GTK_PACK_START);
|
||||
_bottom_hbox.set_child_packing (*_properties_box, true, true);
|
||||
if (_pianoroll->contents().get_parent()) {
|
||||
_pianoroll->contents().unmap ();
|
||||
_pianoroll->contents().get_parent()->remove (_pianoroll->contents());
|
||||
|
|
@ -1746,7 +1746,7 @@ Editor::maybe_edit_region_in_bottom_pane (RegionView& rv)
|
|||
}
|
||||
|
||||
if (pack_pianoroll) {
|
||||
gtk_box_set_child_packing (GTK_BOX(_bottom_hbox.gobj()), GTK_WIDGET(_properties_box->gobj()), false, false, 0, GTK_PACK_START);
|
||||
_bottom_hbox.set_child_packing (*_properties_box, false, false);
|
||||
if (!_pianoroll->contents().get_parent()) {
|
||||
_bottom_hbox.pack_start (_pianoroll->contents(), true, true);
|
||||
}
|
||||
|
|
@ -1757,7 +1757,7 @@ Editor::maybe_edit_region_in_bottom_pane (RegionView& rv)
|
|||
_pianoroll->contents().unmap ();
|
||||
_pianoroll->contents().get_parent()->remove (_pianoroll->contents());
|
||||
}
|
||||
gtk_box_set_child_packing (GTK_BOX(_bottom_hbox.gobj()), GTK_WIDGET(_properties_box->gobj()), true, true, 0, GTK_PACK_START);
|
||||
_bottom_hbox.set_child_packing (*_properties_box, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -486,7 +486,7 @@ TriggerPage::trigger_arm_changed (Trigger const * trigger)
|
|||
|
||||
Tabbable::showhide_att_bottom (false);
|
||||
|
||||
gtk_box_set_child_packing (GTK_BOX(hpacker.gobj()), GTK_WIDGET(_properties_box.gobj()), false, false, 0, GTK_PACK_START);
|
||||
hpacker.set_child_packing (_properties_box, false, false);
|
||||
|
||||
TriggerBox& box = trigger->box();
|
||||
TriggerReference ref (trigger->boxptr(), trigger->index());
|
||||
|
|
@ -540,11 +540,11 @@ TriggerPage::selection_changed ()
|
|||
Tabbable::showhide_att_bottom (false);
|
||||
|
||||
if (selection.triggers.empty ()) {
|
||||
gtk_box_set_child_packing (GTK_BOX(hpacker.gobj()), GTK_WIDGET(_properties_box.gobj()), true, true, 0, GTK_PACK_START);
|
||||
hpacker.set_child_packing (_properties_box, true, true);
|
||||
return;
|
||||
}
|
||||
|
||||
gtk_box_set_child_packing (GTK_BOX(hpacker.gobj()), GTK_WIDGET(_properties_box.gobj()), false, false, 0, GTK_PACK_START);
|
||||
hpacker.set_child_packing (_properties_box, false, false);
|
||||
|
||||
TriggerReference ref = selection.triggers.front()->trigger_reference ();
|
||||
std::shared_ptr<TriggerBox> box = ref.box();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue