Remove Unwinder instances in EngineControl::set_*_device_popdown_strings
authorTim Mayberry <mojofunk@gmail.com>
Mon, 10 Aug 2015 11:48:53 +0000 (21:48 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Mon, 10 Aug 2015 23:24:53 +0000 (09:24 +1000)
These are not necessary since SignalBlocker will prevent signal emission

gtk2_ardour/engine_dialog.cc

index a222790450cac0ae604adf0959446c70c012a88f..ae88ad481052c7b5b00bac48b9d9c0db5857df38 100644 (file)
@@ -981,7 +981,6 @@ EngineControl::set_device_popdown_strings ()
                                // for this backend) Let's make sure it's not blank
                                current_device = available_devices.front ();
 
-                       PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
                        set_popdown_strings (device_combo, available_devices);
                        DEBUG_ECONTROL (string_compose ("set device_combo active text: %1", current_device));
 
@@ -1026,7 +1025,6 @@ EngineControl::set_input_device_popdown_strings ()
                                // for this backend) Let's make sure it's not blank
                                current_device = available_devices.front ();
 
-                       PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
                        set_popdown_strings (input_device_combo, available_devices);
 
                        DEBUG_ECONTROL (string_compose ("set input_device_combo active text: %1", current_device));
@@ -1072,7 +1070,6 @@ EngineControl::set_output_device_popdown_strings ()
                                // for this backend) Let's make sure it's not blank
                                current_device = available_devices.front ();
 
-                       PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
                        set_popdown_strings (output_device_combo, available_devices);
 
                        DEBUG_ECONTROL (string_compose ("set input_device_combo active text: %1", current_device));