[gtkmm-documentation] Tutorial: Wrapping Appendix: Fix minor typos.
- From: José Alburquerque <jaalburqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Tutorial: Wrapping Appendix: Fix minor typos.
- Date: Tue, 2 Jul 2013 03:48:34 +0000 (UTC)
commit 95d04c62ae389e5c3e4d9eda789247c4a4e90ff7
Author: José Alburquerque <jaalburquerque gmail com>
Date: Mon Jul 1 17:25:01 2013 -0400
Tutorial: Wrapping Appendix: Fix minor typos.
* docs/tutorial/C/gtkmm-tutorial-in.xml:
docs/tutorial/C/gtkmm-tutorial-in.xml | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/docs/tutorial/C/gtkmm-tutorial-in.xml b/docs/tutorial/C/gtkmm-tutorial-in.xml
index 5f8211b..8c8927d 100644
--- a/docs/tutorial/C/gtkmm-tutorial-in.xml
+++ b/docs/tutorial/C/gtkmm-tutorial-in.xml
@@ -9629,7 +9629,7 @@ _WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)
desired. It is used with the same syntax as
<function>_WRAP_ENUM()</function> and also process the same options (though
NO_GTYPE is just ignored because it makes no differene when just generating
- the enumm's documentation).
+ the enum's documentation).
</para>
</sect3>
@@ -9713,7 +9713,7 @@ _MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)
GdkEventMask events);
</programlisting>
However, changing the order of the C++ method's two parameters is
- necessary. Something like the following would wrap the function as C++
+ necessary. Something like the following would wrap the function as a C++
method with a different order for the two parameters:
<programlisting>
_WRAP_METHOD(void set_device_events(Gdk::EventMask events{events},
@@ -9772,7 +9772,7 @@ _MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)
</para>
</sect3>
- <sect3 id="gmmproc-output-parameters">
+ <sect3 id="gmmproc-output-parameter-processing">
<title>Output Parameter Processing</title>
<para>
With <function>_WRAP_METHOD()</function> it is also possible for the
@@ -9819,9 +9819,8 @@ _MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)
GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);
</programlisting>
To have <command>gmmproc</command> place the value returned in the C++
- <parameter>rect</parameter> output parameter once the C function returns,
- something like the following <function>_WRAP_METHOD()</function>
- directive could be used:
+ <parameter>rect</parameter> output parameter, something like the
+ following <function>_WRAP_METHOD()</function> directive could be used:
<programlisting>
_WRAP_METHOD(bool get_cell_rect(const TreeModel::Path& path, const
CellRenderer& cell, Gdk::Rectangle& rect{>>}) const,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]