]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/FormIndex.C
Remove unneeded files, we have switched to use the libglade and there is no
[lyx.git] / src / frontends / gnome / FormIndex.C
index 921d899caf01873d7fcd7089dc8706cdf8fc53cf..73c6d430d491b085b2fab9ab3eb706da7afd5371 100644 (file)
 #include "mainapp.h"
 extern GLyxAppWin * mainAppWin;
 
+namespace {
+
 // configuration keys
-static string const CONF_ENTRY("FormIndex_entry");
+string const CONF_ENTRY("FormIndex_entry");
+
+} // namespace anon
+
 
 FormIndex::FormIndex(LyXView * lv, Dialogs * d)
        : lv_(lv), d_(d), inset_(0), u_(0), h_(0), ih_(0), dialog_(0)
@@ -66,7 +71,7 @@ void FormIndex::showInset( InsetCommand * const inset )
   if( dialog_!=0 || inset == 0 ) return;
   
   inset_ = inset;
-  ih_ = inset_->hide.connect(slot(this, &FormIndex::hide));
+  ih_ = inset_->hideDialog.connect(slot(this, &FormIndex::hide));
   
   params = inset->params();
   show();