Re: deprecated gtk_cairo_create
- From: Emmanuele Bassi <ebassi gmail com>
- To: Colomban Wendling <lists ban herbesfolles org>
- Cc: Sergei Kolomeeyets <kolomeeyets gmail com>, GTK Mailing List <gtk-app-devel-list gnome org>
- Subject: Re: deprecated gtk_cairo_create
- Date: Fri, 30 Dec 2016 18:10:04 +0000
Hi;
On 30 December 2016 at 13:45, Colomban Wendling
<lists ban 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]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]