GMutex *ev_doc_mutex = NULL;
+GMutex *ev_fc_mutex = NULL;
#define LOG(x)
GType
g_mutex_unlock (ev_document_get_doc_mutex ());
}
+GMutex *
+ev_document_get_fc_mutex (void)
+{
+ if (ev_fc_mutex == NULL) {
+ ev_fc_mutex = g_mutex_new ();
+ }
+ return ev_fc_mutex;
+}
+void
+ev_document_fc_mutex_lock (void)
+{
+ g_mutex_lock (ev_document_get_fc_mutex ());
+}
+
+void
+ev_document_fc_mutex_unlock (void)
+{
+ g_mutex_unlock (ev_document_get_fc_mutex ());
+}
gboolean
ev_document_load (EvDocument *document,