[glib] docs: Correct param to interface's default_init()



commit eb6da409fa904d99ec6c62718f366e3a70033881
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jun 20 18:25:03 2014 +0100

    docs: Correct param to interface's default_init()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731979

 docs/reference/gobject/tut_howto.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/docs/reference/gobject/tut_howto.xml b/docs/reference/gobject/tut_howto.xml
index 8d1b12c..5fe5112 100644
--- a/docs/reference/gobject/tut_howto.xml
+++ b/docs/reference/gobject/tut_howto.xml
@@ -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",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]