Add Canvas::get_microseconds_since_render_start() method
[ardour.git] / gtk2_ardour / editor_mixer.cc
index 51691136aea6d2848aaa9a216408fb15c3bd46ad..00635367351ab262f54358d80ca87d5ef4e1d267 100644 (file)
@@ -39,6 +39,7 @@
 #include "editor.h"
 #include "editor_route_groups.h"
 #include "editor_regions.h"
+#include "enums_convert.h"
 #include "gui_thread.h"
 #include "midi_time_axis.h"
 #include "mixer_strip.h"
@@ -145,7 +146,7 @@ Editor::show_editor_mixer (bool yn)
 
                if (current_mixer_strip && current_mixer_strip->get_parent() == 0) {
                        global_hpacker.pack_start (*current_mixer_strip, Gtk::PACK_SHRINK );
-                       global_hpacker.reorder_child (*current_mixer_strip, 0);
+                       global_hpacker.reorder_child (*current_mixer_strip, 0);
                        current_mixer_strip->show ();
                }
 
@@ -271,7 +272,7 @@ void
 Editor::maybe_add_mixer_strip_width (XMLNode& node)
 {
        if (current_mixer_strip) {
-               node.add_property ("mixer-width", enum_2_string (editor_mixer_strip_width));
+               node.set_property ("mixer-width", editor_mixer_strip_width);
        }
 }
 
@@ -284,4 +285,3 @@ Editor::mixer_strip_width_changed ()
 
        editor_mixer_strip_width = current_mixer_strip->get_width_enum ();
 }
-