fix redeclaration of symbol
authorRobin Gareus <robin@gareus.org>
Tue, 8 Sep 2015 10:49:24 +0000 (12:49 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 8 Sep 2015 10:49:24 +0000 (12:49 +0200)
gtk2_ardour/rc_option_editor.cc

index fce5a4a780fb015665e818ea365f3948e8c4b9b1..4e2a1f29d0ff4029c674a9dd654b4600af9d391b 100644 (file)
@@ -2781,16 +2781,16 @@ RCOptionEditor::RCOptionEditor ()
        /* INTERFACE */
 
 #ifdef OPTIONAL_CAIRO_IMAGE_SURFACE
-       BoolOption* bgo = new BoolOption (
+       BoolOption* bgc = new BoolOption (
                "cairo-image-surface",
                _("Disable Graphics Hardware Acceleration (requires restart)"),
                sigc::mem_fun (*_ui_config, &UIConfiguration::get_cairo_image_surface),
                sigc::mem_fun (*_ui_config, &UIConfiguration::set_cairo_image_surface)
                );
 
-       Gtkmm2ext::UI::instance()->set_tip (bgo->tip_widget(), string_compose (
+       Gtkmm2ext::UI::instance()->set_tip (bgc->tip_widget(), string_compose (
                                _("Render large parts of the application user-interface in software, instead of using 2D-graphics acceleration.\nThis requires restarting %1 before having an effect"), PROGRAM_NAME));
-       add_option (S_("Preferences|GUI"), bgo);
+       add_option (S_("Preferences|GUI"), bgc);
 #endif
 
 #ifdef CAIRO_SUPPORTS_FORCE_BUGGY_GRADIENTS_ENVIRONMENT_VARIABLE