gobject: fix G_DEFINE_TYPE_EXTENDED docs so code snippet actually compiles
authorAndres G. Aragoneses <knocte@gmail.com>
Thu, 4 Apr 2013 11:10:28 +0000 (12:10 +0100)
committerAndres G. Aragoneses <knocte@gmail.com>
Thu, 4 Apr 2013 11:11:06 +0000 (12:11 +0100)
commit859e4239c575a0e597f32d017d6012be7b4d3ab8
tree61d077658c6e091f0704b954795f92608184d068
parentcef5ce20122ab9f2e62cd582eea751f1efd2c246
gobject: fix G_DEFINE_TYPE_EXTENDED docs so code snippet actually compiles

Flags being used in the G_DEFINE_TYPE_EXTENDED sample was "0", so it
should expand to 0 as well, otherwise the compiler would bark with:
maman-bar.c: In function ‘maman_bar_get_type’:
maman-bar.c:36:53: error: ‘flags’ undeclared (first use in this function)
maman-bar.c:36:53: note: each undeclared identifier is reported only once for each function it appears in

https://bugzilla.gnome.org/show_bug.cgi?id=697250
gobject/gtype.h