Hi;

On 30 December 2016 at 13:45, Colomban Wendling
<lists....@herbesfolles.org> wrote:

> [1] which says "CairoContext", but that's a weird lie on the APIā€¦ not
> sure why, maybe the GType has this name so introspection is confused.
> Anyway, it's cairo_t.

The API reference is generated via gtk-doc, which queries the type for
signals and properties using the GType API; Cairo provides GType
wrappers for property and signal marshalling, and those have CamelCase
names to better fit in. This means that a C `cairo_t` type is a
`CairoContext` GType, and a `cairo_surface_t` C type is a
`CairoSurface` GType.

It should be possible to override the type inside gtk-doc, but nobody
looked into it as of yet.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to