aboutsummaryrefslogtreecommitdiff
path: root/src/Xinerama.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xinerama.hh')
-rw-r--r--src/Xinerama.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xinerama.hh b/src/Xinerama.hh
index 4e7d06f..f58b4f0 100644
--- a/src/Xinerama.hh
+++ b/src/Xinerama.hh
@@ -40,7 +40,7 @@ template <typename ItemType>
40class XineramaHeadMenuItem : public FbTk::MenuItem { 40class XineramaHeadMenuItem : public FbTk::MenuItem {
41public: 41public:
42 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum, 42 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum,
43 FbTk::RefCount<FbTk::Command> &cmd): 43 FbTk::RefCount<FbTk::Command<void> > &cmd):
44 FbTk::MenuItem(label,cmd), m_object(object), m_headnum(headnum) {} 44 FbTk::MenuItem(label,cmd), m_object(object), m_headnum(headnum) {}
45 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum): 45 XineramaHeadMenuItem(const FbTk::FbString &label, ItemType &object, int headnum):
46 FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {} 46 FbTk::MenuItem(label), m_object(object), m_headnum(headnum) {}
@@ -79,7 +79,7 @@ XineramaHeadMenu<ItemType>::XineramaHeadMenu(
79 m_object(item) 79 m_object(item)
80{ 80{
81 setLabel(title); 81 setLabel(title);
82 FbTk::RefCount<FbTk::Command> saverc_cmd(new FbTk::SimpleCommand<Fluxbox>( 82 FbTk::RefCount<FbTk::Command<void> > saverc_cmd(new FbTk::SimpleCommand<Fluxbox>(
83 *Fluxbox::instance(), 83 *Fluxbox::instance(),
84 &Fluxbox::save_rc)); 84 &Fluxbox::save_rc));
85 char tname[128]; 85 char tname[128];