[yelp/gnome-3-0] yelp-mallard-document: Don't start transform if running
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp/gnome-3-0] yelp-mallard-document: Don't start transform if running
- Date: Mon, 9 May 2011 13:56:19 +0000 (UTC)
commit e11a3c95ea7a682f840500cc846a47d9d1972a7e
Author: Shaun McCance <shaunm gnome org>
Date: Fri May 6 10:00:49 2011 -0400
yelp-mallard-document: Don't start transform if running
libyelp/yelp-mallard-document.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-mallard-document.c b/libyelp/yelp-mallard-document.c
index 6b21e5d..2c62a7f 100644
--- a/libyelp/yelp-mallard-document.c
+++ b/libyelp/yelp-mallard-document.c
@@ -429,6 +429,11 @@ mallard_try_run (YelpMallardDocument *mallard,
return;
}
+ if (page_data->transform != NULL) {
+ /* It's already running. Just let it be. */
+ return;
+ }
+
mallard_page_data_run (page_data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]