docs: Rename a parameter in a GObject how-to example

Make it obvious the parameter is not related to AClass.

https://bugzilla.gnome.org/show_bug.cgi?id=744060
This commit is contained in:
Philip Withnall 2015-02-20 13:15:15 +00:00
parent a76242b35a
commit 01962b4dd1

View File

@ -781,7 +781,7 @@ maman_bar_subtype_class_init (MamanBarSubTypeClass *klass)
family of macros, for instance: family of macros, for instance:
<informalexample><programlisting> <informalexample><programlisting>
static void static void
b_method_to_call (B *obj, int a) b_method_to_call (B *obj, gint some_param)
{ {
/* do stuff before chain up */ /* do stuff before chain up */
@ -790,7 +790,7 @@ b_method_to_call (B *obj, int a)
* *
* remember the explicit cast to AClass* * remember the explicit cast to AClass*
*/ */
A_CLASS (b_parent_class)->method_to_call (obj, a); A_CLASS (b_parent_class)->method_to_call (obj, some_param);
/* do stuff after chain up */ /* do stuff after chain up */
} }