diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-05-06 10:00:49 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-05-06 10:00:49 -0400 |
commit | efca6e980bc4d07c7ef698c34a96ada9e827075d (patch) | |
tree | ba9e03aca912f132e4b962e5084a985c855c87d7 /libyelp/yelp-mallard-document.c | |
parent | 4030a5017e0bb778976302dc9933f3f313dcfdeb (diff) | |
download | yelp-efca6e980bc4d07c7ef698c34a96ada9e827075d.tar.gz |
yelp-mallard-document: Don't start transform if running
Diffstat (limited to 'libyelp/yelp-mallard-document.c')
-rw-r--r-- | 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 6b21e5d3..2c62a7f1 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); } |