Mercurial > hg > xemacs-beta
comparison src/glyphs.c @ 430:a5df635868b2 r21-2-23
Import from CVS: tag r21-2-23
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:29:08 +0200 |
parents | 3ecd8885ac67 |
children | 9d177e8d4150 |
comparison
equal
deleted
inserted
replaced
429:8305706cbb93 | 430:a5df635868b2 |
---|---|
1607 | 1607 |
1608 device = XIMAGE_INSTANCE_DEVICE (image_instance); | 1608 device = XIMAGE_INSTANCE_DEVICE (image_instance); |
1609 if (!HAS_DEVMETH_P (XDEVICE (device), colorize_image_instance)) | 1609 if (!HAS_DEVMETH_P (XDEVICE (device), colorize_image_instance)) |
1610 return image_instance; | 1610 return image_instance; |
1611 | 1611 |
1612 /* #### There should be a copy_image_instance(), which calls a | |
1613 device-specific method to copy the window-system subobject. */ | |
1612 new = allocate_image_instance (device); | 1614 new = allocate_image_instance (device); |
1613 copy_lcrecord (XIMAGE_INSTANCE (new), XIMAGE_INSTANCE (image_instance)); | 1615 copy_lcrecord (XIMAGE_INSTANCE (new), XIMAGE_INSTANCE (image_instance)); |
1614 /* note that if this method returns non-zero, this method MUST | 1616 /* note that if this method returns non-zero, this method MUST |
1615 copy any window-system resources, so that when one image instance is | 1617 copy any window-system resources, so that when one image instance is |
1616 freed, the other one is not hosed. */ | 1618 freed, the other one is not hosed. */ |