docs: Correct param to interface's default_init()

https://bugzilla.gnome.org/show_bug.cgi?id=731979
This commit is contained in:
Zeeshan Ali (Khattak) 2014-06-20 18:25:03 +01:00
parent d552a1f125
commit eb6da409fa

View File

@ -863,7 +863,7 @@ void maman_ibaz_do_something (MamanIbaz *self);
G_DEFINE_INTERFACE (MamanIbaz, maman_ibaz, 0);
static void
maman_ibaz_default_init (gpointer g_class)
maman_ibaz_default_init (MamanIbazInterface *iface)
{
/* add properties and signals to the interface here */
}
@ -1119,9 +1119,9 @@ G_DEFINE_TYPE_WITH_CODE (MamanBar, maman_bar, G_TYPE_OBJECT,
line in the <function>maman_ibaz_default_init</function> as shown below:
<programlisting>
static void
maman_ibaz_default_init (gpointer g_iface)
maman_ibaz_default_init (MamanIbazInteface *iface)
{
g_object_interface_install_property (g_iface,
g_object_interface_install_property (iface,
g_param_spec_string ("name",
"Name",
"Name of the MamanIbaz",