Solving issue 1684: "thumbnail.cc uses Glib::Mutex recusively" ; this changeset introduce a new MyMutex and MyMutex::MyLock class that has to be used instead of Glib ones
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#define _PREVIEWHANDLER_
|
||||
|
||||
#include "../rtengine/rtengine.h"
|
||||
#include "threadutils.h"
|
||||
#include <gtkmm.h>
|
||||
#include <list>
|
||||
|
||||
@@ -49,10 +50,9 @@ class PreviewHandler : public rtengine::PreviewImageListener {
|
||||
double previewScale;
|
||||
PreviewHandlerIdleHelper* pih;
|
||||
std::list<PreviewListener*> listeners;
|
||||
Glib::Mutex previewImgMutex;
|
||||
MyMutex previewImgMutex;
|
||||
Glib::RefPtr<Gdk::Pixbuf> previewImg;
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
PreviewHandler ();
|
||||
|
Reference in New Issue
Block a user