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:
Vincent van Ravesteijn 2011-02-13 10:08:52 +00:00
parent 5036ca8500
commit f6a3b37d18

View File

@ -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_)