From a14c322dcbbc7330b6933230168d34411f7ac63b Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 30 Jun 2006 15:59:30 +0000 Subject: more dead functions --- src/fluxbox.cc | 20 -------------------- src/fluxbox.hh | 2 -- 2 files changed, 22 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index d886eeb..1cdc647 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -1621,26 +1621,6 @@ void Fluxbox::load_rc(BScreen &screen) { } } -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(); diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 5337ad9..2a113e5 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh @@ -151,8 +151,6 @@ public: 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 *); -- cgit v0.11.2