summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2012-10-03 15:39:12 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-10-03 15:39:12 -0400
commitbaaa26ebf1f389b7644f434907e2d77d0def862b (patch)
treef17f8ee1bd55e0c3306a030d95c9a35ffb6c1a36
parent77b0f810ae08a4dcddad31893ed993f7f03c2e87 (diff)
asdf
-rw-r--r--fragments.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fragments.c b/fragments.c
index dd0f867..cf6f634 100644
--- a/fragments.c
+++ b/fragments.c
@@ -9,6 +9,7 @@
Maybe the cairo->pixman conversion should just take place inside the image?
Maybe it doesn't matter that much.
Maybe polygon images will make the question irrelevant.
+ However, we definitely don't want to copy the traps structure to all the fragments.
For pimages, have the image take a ref would be more convenient.
@@ -93,6 +94,10 @@ fragment_new (int width, int height)
static void
fragment_free (fragment_t *fragment)
{
+ if (fragment->broken)
+ return;
+
+
/* FIXME */
}