GNOME Bugzilla – Bug 770459
Tutorial article is slightly wrong
Last modified: 2017-10-05 14:41:17 UTC
On the page [1] there is an example using `iface = VIEWER_EDITABLE_GET_INTERFACE (self);` but the code generated by `G_DECLARE_INTERFACE()` defines ...GET_IFACE(). [1] https://developer.gnome.org/gobject/stable/gtype-non-instantiable-classed.html
Good catch, thanks. Fixed in master. The following fix has been pushed: 121b1e5 docs: Fix incorrect macro name in GType tutorial
Created attachment 360966 [details] [review] docs: Fix incorrect macro name in GType tutorial Signed-off-by: Philip Withnall <withnall@endlessm.com>