X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Freference%2Fgobject%2Ftut_howto.xml;h=9d592b8bd2dcde53793fe5c37be587903fc0b596;hb=f24d8247b3a20cc62b4be50a0515acffd7e7d277;hp=aefed0d6746bfad2c8b2b1f2f1e01f33222641f6;hpb=63adeda0861a26b38ec0adc76255666554c18951;p=platform%2Fupstream%2Fglib.git diff --git a/docs/reference/gobject/tut_howto.xml b/docs/reference/gobject/tut_howto.xml index aefed0d..9d592b8 100644 --- a/docs/reference/gobject/tut_howto.xml +++ b/docs/reference/gobject/tut_howto.xml @@ -183,7 +183,7 @@ struct _MamanBar struct _MamanBarPrivate { int hsize; -} +}; static void maman_bar_class_init (MamanBarClass *klass) @@ -825,8 +825,8 @@ void maman_ibaz_do_action (MamanIbaz *self); The _GET_CLASS macro is called _GET_INTERFACE - and not implemented with G_TYPE_INSTANCE_GET_CLASS - but with G_TYPE_INSTANCE_GET_INTERFACE. + and not implemented with G_TYPE_INSTANCE_GET_CLASS + but with G_TYPE_INSTANCE_GET_INTERFACE. The instance type, MamanIbaz is not fully defined: it is @@ -877,7 +877,7 @@ maman_ibaz_get_type (void) static GType iface_type = 0; if (iface_type == 0) { - static const GTypeInfo info = { + const GTypeInfo info = { sizeof (MamanIbazInterface), maman_ibaz_base_init, /* base_init */ NULL, /* base_finalize */