The thread safety stuff is only needed for GTK

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@419 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-06-11 15:46:05 +00:00
parent 806d44239e
commit 27833003c8
4 changed files with 27 additions and 25 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class ScriptableImage {
}
/// Can this be safely generated from another thread?
bool threadSafe() const {return value != nullptr ? value->threadSafe() : false; }
inline bool threadSafe() const { return !value || value->threadSafe(); }
private:
OptionalScript script; ///< The script, not really optional