mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Do not compile unused code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37634 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5036ca8500
commit
f6a3b37d18
@ -1413,15 +1413,14 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
break;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// FIXME: The graphics cache no longer has a changeDisplay method.
|
||||
string const graphicsbg = lcolor.getLyXName(Color_graphicsbg);
|
||||
bool const graphicsbg_changed =
|
||||
lyx_name == graphicsbg && x11_name != graphicsbg;
|
||||
if (graphicsbg_changed) {
|
||||
// FIXME: The graphics cache no longer has a changeDisplay method.
|
||||
#if 0
|
||||
if (graphicsbg_changed)
|
||||
graphics::GCache::get().changeDisplay(true);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!lcolor.setColor(lyx_name, x11_name)) {
|
||||
if (current_view_)
|
||||
|
Loading…
Reference in New Issue
Block a user