aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-02-17 12:29:35 (GMT)
committerfluxgen <fluxgen>2003-02-17 12:29:35 (GMT)
commit23729b78ba2a6f57be040cf7fef12e2b9daa942a (patch)
treebdb11bf5f807cd8f10bfe945e1031f88ff5ff44d
parent2186aac51126ecabd1da586277284e6474896c01 (diff)
downloadfluxbox_paul-23729b78ba2a6f57be040cf7fef12e2b9daa942a.zip
fluxbox_paul-23729b78ba2a6f57be040cf7fef12e2b9daa942a.tar.bz2
return string instead of char * from getStyleFilename
-rw-r--r--src/fluxbox.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 7ab5428..827d869 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.hh,v 1.41 2003/02/16 15:12:08 rathnor Exp $ 25// $Id: fluxbox.hh,v 1.42 2003/02/17 12:29:35 fluxgen Exp $
26 26
27#ifndef FLUXBOX_HH 27#ifndef FLUXBOX_HH
28#define FLUXBOX_HH 28#define FLUXBOX_HH
@@ -106,7 +106,7 @@ public:
106 106
107 inline const std::vector<Fluxbox::Titlebar>& getTitlebarRight() { return *m_rc_titlebar_right; } 107 inline const std::vector<Fluxbox::Titlebar>& getTitlebarRight() { return *m_rc_titlebar_right; }
108 inline const std::vector<Fluxbox::Titlebar>& getTitlebarLeft() { return *m_rc_titlebar_left; } 108 inline const std::vector<Fluxbox::Titlebar>& getTitlebarLeft() { return *m_rc_titlebar_left; }
109 inline const char *getStyleFilename() const { return m_rc_stylefile->c_str(); } 109 inline const std::string &getStyleFilename() const { return *m_rc_stylefile; }
110 110
111 inline const char *getMenuFilename() const { return m_rc_menufile->c_str(); } 111 inline const char *getMenuFilename() const { return m_rc_menufile->c_str(); }
112 inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; } 112 inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; }