+2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * ToolbarDefaults.C: remove trailing comma closing namespace.
+
+ * WorkArea.h: remove WorkArea:: from declaration of event_cb.
+
+ * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
+ as in WorkArea.
+
+ * trans.C (Load): comment out unused variable, allowed.
+
2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
* minibuffer.[Ch] (append_char): new method to recieve input from the
{ "separator", TO_SEPARATOR }
};
-}; // end of anon namespace
+} // end of anon namespace
ToolbarDefaults::ToolbarDefaults()
SigC::Signal0<void> selectionRequested;
/// handles SelectionRequest X Event, to fill the clipboard
- void WorkArea::event_cb(XEvent * xev);
+ void event_cb(XEvent * xev);
private:
///
void createPixmap(int, int);
}
-void const LyXFunc::verboseDispatch(string const & s, bool show_sc)
+void LyXFunc::verboseDispatch(string const & s, bool show_sc)
{
int action = lyxaction.LookupFunc(frontStrip(s));
}
-void const LyXFunc::verboseDispatch(int ac, bool show_sc)
+void LyXFunc::verboseDispatch(int ac, bool show_sc)
{
string argument;
kb_action action;
-void const LyXFunc::verboseDispatch(kb_action action,
- string const & argument, bool show_sc)
+void LyXFunc::verboseDispatch(kb_action action,
+ string const & argument, bool show_sc)
{
string res = dispatch(action, argument);
/// The same as dispatch, but also shows shortcuts and command
/// name in minibuffer if show_sc is true (more to come?)
- void const LyXFunc::verboseDispatch(kb_action action,
- string const & argument,
- bool show_sc);
+ void verboseDispatch(kb_action action,
+ string const & argument,
+ bool show_sc);
/// Same as above, using a pseudoaction as argument
- void const LyXFunc::verboseDispatch(int ac, bool show_sc);
+ void verboseDispatch(int ac, bool show_sc);
/// Same as above, when the command is provided as a string
- void const LyXFunc::verboseDispatch(string const & s, bool show_sc);
+ void verboseDispatch(string const & s, bool show_sc);
///
- void LyXFunc::miniDispatch(string const & s);
+ void miniDispatch(string const & s);
///
void initMiniBuffer();
} else
return -1;
- string const allowed = lex.getString();
+ /* string const allowed = lex.getString(); */
AddDeadkey(accent, keys /*, allowed*/);
#else
AddDeadkey(accent, keys);