[cairo-compmgr] doubt about ccm_pixmap_shm_repair

[ Thread Index | Date Index | More lists.tuxfamily.org/cairo-compmgr Archives ]


Hi,

In the function ccm_pixmap_shm_repair I don't understand how this call
is possible:

XCopyArea(CCM_DISPLAY_XDISPLAY(display),
		  CCM_PIXMAP_XPIXMAP(self), self->priv->pixmap,
		  self->priv->gc,
		  0, 0, self->priv->image->width, self->priv->image->height, 0, 0);

since self->priv->pixmap is a GObject and not a drawable. Probably I'm
missing something and probably this is due my lack of knowledge about
GObject. Can you explain me how this works Nicolas?

Thanks,
Carlos.

---


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/