mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix redeclaration of symbol
This commit is contained in:
parent
c315c6f140
commit
78f028b690
1 changed files with 3 additions and 3 deletions
|
|
@ -2781,16 +2781,16 @@ RCOptionEditor::RCOptionEditor ()
|
||||||
/* INTERFACE */
|
/* INTERFACE */
|
||||||
|
|
||||||
#ifdef OPTIONAL_CAIRO_IMAGE_SURFACE
|
#ifdef OPTIONAL_CAIRO_IMAGE_SURFACE
|
||||||
BoolOption* bgo = new BoolOption (
|
BoolOption* bgc = new BoolOption (
|
||||||
"cairo-image-surface",
|
"cairo-image-surface",
|
||||||
_("Disable Graphics Hardware Acceleration (requires restart)"),
|
_("Disable Graphics Hardware Acceleration (requires restart)"),
|
||||||
sigc::mem_fun (*_ui_config, &UIConfiguration::get_cairo_image_surface),
|
sigc::mem_fun (*_ui_config, &UIConfiguration::get_cairo_image_surface),
|
||||||
sigc::mem_fun (*_ui_config, &UIConfiguration::set_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));
|
_("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
|
#endif
|
||||||
|
|
||||||
#ifdef CAIRO_SUPPORTS_FORCE_BUGGY_GRADIENTS_ENVIRONMENT_VARIABLE
|
#ifdef CAIRO_SUPPORTS_FORCE_BUGGY_GRADIENTS_ENVIRONMENT_VARIABLE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue