diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-02-20 13:15:15 +0000 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-08-21 15:15:52 +0100 |
commit | 01962b4dd1f3ef15e1412a2d1e21ce8e6e68bd1d (patch) | |
tree | 7ca39aedde7892ef4d0a2ecda807544fcc5a4c4a /docs/reference/gobject/tut_howto.xml | |
parent | a76242b35ab6809f7582fd06b8b30c05f82b3934 (diff) | |
download | glib-01962b4dd1f3ef15e1412a2d1e21ce8e6e68bd1d.tar.gz |
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
Diffstat (limited to 'docs/reference/gobject/tut_howto.xml')
-rw-r--r-- | docs/reference/gobject/tut_howto.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/gobject/tut_howto.xml b/docs/reference/gobject/tut_howto.xml index 15cdba26c..f93febdd9 100644 --- a/docs/reference/gobject/tut_howto.xml +++ b/docs/reference/gobject/tut_howto.xml @@ -781,7 +781,7 @@ maman_bar_subtype_class_init (MamanBarSubTypeClass *klass) family of macros, for instance: <informalexample><programlisting> static void -b_method_to_call (B *obj, int a) +b_method_to_call (B *obj, gint some_param) { /* do stuff before chain up */ @@ -790,7 +790,7 @@ b_method_to_call (B *obj, int a) * * 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 */ } |