]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlookup.C
fix "make dist" target
[lyx.git] / src / lyxlookup.C
index 97d373d64d621b312c6cadb4812970de36f82406..58a4cb6a55c8fcbfb822c4987dc4473eb5f68030 100644 (file)
 
 using std::endl;
 
-static XIM xim;
-static XIC xic;
+namespace {
+
+XIM xim;
+XIC xic;
 XComposeStatus compose_status= {0, 0};
 
+} // namespace anon
+
+
 // This is called after the main LyX window has been created
 void InitLyXLookup(Display * display, Window window) 
 {
@@ -89,7 +94,8 @@ void InitLyXLookup(Display * display, Window window)
 }
 
 
-static
+namespace {
+
 bool isDeadEvent(KeySym keysym)
 {
        // Can this be done safely in any other way?
@@ -152,6 +158,8 @@ bool isDeadEvent(KeySym keysym)
        }
 }
 
+} // namespace anon
+
 
 // This is called instead of XLookupString()
 int LyXLookupString(XEvent * event,