diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-01-07 02:08:15 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-01-07 02:08:15 -0500 |
commit | ded08256ef7fdc9e9468342cf5635c5e99d4d64d (patch) | |
tree | 2c312f3751aff87243f446068853042c05258f0f /src/cairo-cache.c | |
parent | caa3c2e1e7901031488f5dae243a755a4e4daec9 (diff) | |
download | cairo-ded08256ef7fdc9e9468342cf5635c5e99d4d64d.tar.gz |
Spell check the docs
Diffstat (limited to 'src/cairo-cache.c')
-rw-r--r-- | src/cairo-cache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cairo-cache.c b/src/cairo-cache.c index feac8c775..fa1f003a6 100644 --- a/src/cairo-cache.c +++ b/src/cairo-cache.c @@ -54,7 +54,7 @@ _cairo_cache_remove (cairo_cache_t *cache, cairo_cache_entry_t *entry); static void -_cairo_cache_shrink_to_accomodate (cairo_cache_t *cache, +_cairo_cache_shrink_to_accommodate (cairo_cache_t *cache, unsigned long additional); static cairo_status_t @@ -215,7 +215,7 @@ _cairo_cache_thaw (cairo_cache_t *cache) cache->freeze_count--; if (cache->freeze_count == 0) - _cairo_cache_shrink_to_accomodate (cache, 0); + _cairo_cache_shrink_to_accommodate (cache, 0); } /** @@ -267,17 +267,17 @@ _cairo_cache_remove_random (cairo_cache_t *cache) } /** - * _cairo_cache_shrink_to_accomodate: + * _cairo_cache_shrink_to_accommodate: * @cache: a cache * @additional: additional size requested in bytes * * If cache is not frozen, eject entries randomly until the size of * the cache is at least @additional bytes less than - * cache->max_size. That is, make enough room to accomodate a new + * cache->max_size. That is, make enough room to accommodate a new * entry of size @additional. **/ static void -_cairo_cache_shrink_to_accomodate (cairo_cache_t *cache, +_cairo_cache_shrink_to_accommodate (cairo_cache_t *cache, unsigned long additional) { cairo_int_status_t status; @@ -313,7 +313,7 @@ _cairo_cache_insert (cairo_cache_t *cache, { cairo_status_t status; - _cairo_cache_shrink_to_accomodate (cache, entry->size); + _cairo_cache_shrink_to_accommodate (cache, entry->size); status = _cairo_hash_table_insert (cache->hash_table, (cairo_hash_entry_t *) entry); |