]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.h
Avoid null pointer dereference
[lyx.git] / src / graphics / PreviewLoader.h
index 5d0bf8e2340dc014065a319f3c75a7453bb831c2..272c4d361bd47e133498335d2ffa29f492643266 100644 (file)
@@ -76,10 +76,10 @@ public:
         *  has been created and is ready for loading through
         *  lyx::graphics::PreviewImage::image().
         */
-       typedef signals2::signal<void(PreviewImage const &)> sig;
+       typedef signal<void(PreviewImage const &)> sig;
        typedef sig::slot_type slot;
        ///
-       signals2::connection connect(slot const &) const;
+       connection connect(slot const &) const;
 
        /** When PreviewImage has finished loading the image file into memory,
         *  it tells the PreviewLoader to tell the outside world