]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Small fix.
[lyx.git] / src / BufferView.h
index b5783957aa64ad6e5858f0bff1ff68bb3663f3f2..c29a3447e6c28a4e7a56e6561ef0688b9774e5c7 100644 (file)
@@ -153,14 +153,18 @@ public:
        void menuUndo();
        ///
        void menuRedo();
+#ifndef NEW_INSETS
        ///
        void toggleFloat();
        ///
        void openStuff();
+#endif
        ///
        void insertNote();
+#ifndef NEW_INSETS
        ///
        void allFloats(char flag, char figmar);
+#endif
        /// removes all autodeletable insets
        bool removeAutoInsets();
        ///
@@ -173,7 +177,7 @@ public:
        bool insertInset(Inset * inset, string const & lout = string(),
                         bool no_table = false);
        /// open and lock an updatable inset
-       void open_new_inset(UpdatableInset * new_inset);
+       bool open_new_inset(UpdatableInset * new_inset);
        /// Inserts a lyx file at cursor position. Returns false if it fails.
        bool insertLyXFile(string const & file);
        ///