Remove unused code
authorPeng Huang <shawn.p.huang@gmail.com>
Mon, 19 Apr 2010 03:54:38 +0000 (11:54 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Mon, 19 Apr 2010 03:54:38 +0000 (11:54 +0800)
src/PinyinEngine.cc
src/PinyinEngine.h

index 07715ae..149d935 100644 (file)
@@ -195,7 +195,6 @@ PinyinEngine::candidateClicked (guint index, guint button, guint state)
 void
 PinyinEngine::slotCommitText (Text & text)
 {
-    // m_last_commit_text = text;
     ibus_engine_commit_text (m_engine, text);
     if (m_input_mode != MODE_INIT)
         m_input_mode = MODE_INIT;
index 7094b1c..6f2d0b7 100644 (file)
@@ -32,7 +32,6 @@ public:
             m_editors[i]->reset ();
         }
         m_fallback_editor->reset ();
-        // m_last_commit_text = NULL;
     }
 
 
@@ -87,7 +86,6 @@ private:
 
     EditorPtr m_editors[MODE_LAST];
     EditorPtr m_fallback_editor;
-    // Text m_last_commit_text;
 };
 
 };