damage: Delete NOTUSED block--it was never not NOTUSED.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
		
							parent
							
								
									5ff9e58bef
								
							
						
					
					
						commit
						139aa6e742
					
				| 
						 | 
					@ -458,28 +458,6 @@ damageCreateGC(GCPtr pGC)
 | 
				
			||||||
    return ret;
 | 
					    return ret;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef NOTUSED
 | 
					 | 
				
			||||||
static void
 | 
					 | 
				
			||||||
damageWrapGC (GCPtr pGC)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    damageGCPriv(pGC);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    pGCPriv->ops = NULL;
 | 
					 | 
				
			||||||
    pGCPriv->funcs = pGC->funcs;
 | 
					 | 
				
			||||||
    pGC->funcs = &damageGCFuncs;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
static void
 | 
					 | 
				
			||||||
damageUnwrapGC (GCPtr pGC)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    damageGCPriv(pGC);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    pGC->funcs = pGCPriv->funcs;
 | 
					 | 
				
			||||||
    if (pGCPriv->ops)
 | 
					 | 
				
			||||||
	pGC->ops = pGCPriv->ops;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define DAMAGE_GC_OP_PROLOGUE(pGC, pDrawable) \
 | 
					#define DAMAGE_GC_OP_PROLOGUE(pGC, pDrawable) \
 | 
				
			||||||
    damageGCPriv(pGC);  \
 | 
					    damageGCPriv(pGC);  \
 | 
				
			||||||
    GCFuncs *oldFuncs = pGC->funcs; \
 | 
					    GCFuncs *oldFuncs = pGC->funcs; \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue