more dead functions
markt markt
2 files changed,
0 insertions(+),
22 deletions(-)
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -1621,26 +1621,6 @@ cerr<<_FB_CONSOLETEXT(Fluxbox, CantLoadRCFile, "Failed to load database", "")<<": "<<DEFAULT_INITFILE<<endl;
} } -void Fluxbox::loadRootCommand(BScreen &screen) { - - string dbfile(getRcFilename()); - - XrmDatabaseHelper database(dbfile.c_str()); - if (!*database) - database = XrmGetFileDatabase(DEFAULT_INITFILE); - - XrmValue value; - char *value_type, name_lookup[1024], class_lookup[1024]; - sprintf(name_lookup, "session.screen%d.rootCommand", screen.screenNumber()); - sprintf(class_lookup, "Session.Screen%d.RootCommand", screen.screenNumber()); - if (XrmGetResource(*database, name_lookup, class_lookup, &value_type, - &value)) { - screen.saveRootCommand(value.addr==0 ? "": value.addr); - } else - screen.saveRootCommand(""); - -} - void Fluxbox::reload_rc() { load_rc(); reconfigure();
M
src/fluxbox.hh
→
src/fluxbox.hh
@@ -151,8 +151,6 @@ void watchKeyRelease(BScreen &screen, unsigned int mods);
void shutdown(); void load_rc(BScreen &scr); - void loadRootCommand(BScreen &scr); - void loadTitlebar(); void saveStyleFilename(const char *val) { m_rc_stylefile = (val == 0 ? "" : val); } void saveStyleOverlayFilename(const char *val) { m_rc_styleoverlayfile = (val == 0 ? "" : val); } void saveMenuFilename(const char *);