]> git.lyx.org Git - features.git/blobdiff - src/lyx_gui_misc.C
Anguses patch + some modifications for smart? inset-update.
[features.git] / src / lyx_gui_misc.C
index 1262e486a474886fbc8a5ae04fbf1ff42cbeaa05..3721ee3ff30ab0f4aea6a4c1dbc7278ec61a2a66 100644 (file)
@@ -61,7 +61,6 @@ extern FD_delim  * fd_delim;
 extern FD_deco   * fd_deco;
 extern FD_space  * fd_space;
 extern FD_matrix * fd_matrix;
-extern FD_citation_form * citation_form;
 extern FD_bibitem_form * bibitem_form;
 extern FD_include * form;
 extern FD_index_form * index_form;
@@ -170,11 +169,6 @@ void CloseAllBufferRelatedDialogs()
                        fl_hide_form(fd_matrix->matrix);
                }
        }
-       if (citation_form) {
-               if (citation_form->form->visible) {
-                       fl_hide_form(citation_form->form);
-               }
-       }
        if (bibitem_form) {
                if (bibitem_form->bibitem_form->visible) {
                        fl_hide_form(bibitem_form->bibitem_form);
@@ -321,11 +315,6 @@ void updateAllVisibleBufferRelatedDialogs()
                }
        }
 #endif
-       if (citation_form) {
-               if (citation_form->form->visible) {
-                       fl_hide_form(citation_form->form);
-               }
-       }
        if (bibitem_form) {
                if (bibitem_form->bibitem_form->visible) {
                        fl_hide_form(bibitem_form->bibitem_form);