From: Matthias Clasen Date: Sun, 21 Feb 2010 20:32:08 +0000 (-0500) Subject: Add a pointer to G_DEFINE_INTERFACE X-Git-Tag: 2.23.4~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de6914a46a0af720de3df34539e61973e9d4446b;p=platform%2Fupstream%2Fglib.git Add a pointer to G_DEFINE_INTERFACE --- diff --git a/docs/reference/gobject/tut_gtype.xml b/docs/reference/gobject/tut_gtype.xml index 96f6123..15d6242 100644 --- a/docs/reference/gobject/tut_gtype.xml +++ b/docs/reference/gobject/tut_gtype.xml @@ -770,6 +770,13 @@ struct _GInterfaceInfo }; + + When having no special requirements you also can use the G_DEFINE_INTERFACE macro: + +G_DEFINE_INTERFACE (MamanBaz, maman_baz, G_TYPE_OBJECT) + + + Interface Initialization