mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
cogl/framebuffer: Mark CoglOffscreen as a CoglFramebuffer implementation
CoglOffscreen is effectively a CoglFramebuffer, but it isn't being marked as such by the GType machinery. This makes it impossible for introspection to correctly set this class up. Fix that by adding a COGL_GTYPE_IMPLEMENT_INTERFACE() code into the declaration of CoglOffscreen. This does not have any functional changes though.
This commit is contained in:
parent
a8e9f46ed8
commit
93e20cf21c
@ -66,7 +66,8 @@ static void _cogl_offscreen_free (CoglOffscreen *offscreen);
|
||||
COGL_OBJECT_DEFINE_WITH_CODE_GTYPE (Offscreen, offscreen,
|
||||
_cogl_offscreen_class.virt_unref =
|
||||
_cogl_framebuffer_unref);
|
||||
COGL_GTYPE_DEFINE_CLASS (Offscreen, offscreen);
|
||||
COGL_GTYPE_DEFINE_CLASS (Offscreen, offscreen,
|
||||
COGL_GTYPE_IMPLEMENT_INTERFACE (framebuffer));
|
||||
COGL_OBJECT_DEFINE_DEPRECATED_REF_COUNTING (offscreen);
|
||||
COGL_GTYPE_DEFINE_INTERFACE (Framebuffer, framebuffer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user