comparison src/xgccache.c @ 3243:ea87f3f1e3ff

[xemacs-hg @ 2006-02-17 11:19:17 by crestani] Remove "Cache full" warning
author crestani
date Fri, 17 Feb 2006 11:19:19 +0000
parents ad2f4ae9895b
children b3ce27ca7647
comparison
equal deleted inserted replaced
3242:ebe36a266d64 3243:ea87f3f1e3ff
231 { 231 {
232 cell = cache->head; 232 cell = cache->head;
233 cache->head = cell->next; 233 cache->head = cell->next;
234 cache->head->prev = 0; 234 cache->head->prev = 0;
235 if (cache->tail == cell) cache->tail = 0; /* only one */ 235 if (cache->tail == cell) cache->tail = 0; /* only one */
236 #if 0
236 debug_out ("Cache full, freeing GC: %08lx\n ", XE_GCONTEXT(cell)); 237 debug_out ("Cache full, freeing GC: %08lx\n ", XE_GCONTEXT(cell));
238 #endif
237 XFreeGC (cache->dpy, cell->gc); 239 XFreeGC (cache->dpy, cell->gc);
238 cache->delete_count++; 240 cache->delete_count++;
239 #ifdef GCCACHE_HASH 241 #ifdef GCCACHE_HASH
240 remhash (&cell->gcvm, cache->table); 242 remhash (&cell->gcvm, cache->table);
241 #endif 243 #endif