GTKMM Tutorial Slight Tweak
Steve Gruspier <[email protected]> Tue, 27 Jan 2015 13:53:36 -0500
| Newsgroups | gmane.comp.gnome.web |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============7938085502297449562==
Content-Type: multipart/alternative;
boundary="------------060609030006080507080306"
This is a multi-part message in MIME format.
--------------060609030006080507080306
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Today, I was going through the current stable Gtkmm tutorial, and found=20
that one line is commented out, which should not be.
https://developer.gnome.org/gtkmm-tutorial/stable/sec-text-entry.html.en
Under section
7.2.2.1. =E2=80=83Entry Completion Example
In the examplewindow.h file, the line:
//bool on_completion_match(const Glib::ustring& key, const Gtk::TreeModel=
::const_iterator& iter);
Should not be commented out as this gives back an error when compiling.=20
An easy mistake to find for anyone to fix, but should be addressed.
This is also apparent in the unstable tutorial as well FYI.
--=20
Steve Gruspier
Electrical Engineer
--------------060609030006080507080306
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
</head>
<body text=3D"#000000" bgcolor=3D"#FFFFFF">
Today, I was going through the current stable Gtkmm tutorial, and
found that one line is commented out, which should not be. <br>
<br>
<a class=3D"moz-txt-link-freetext" href=3D"https://developer.gnome.org/gt=
kmm-tutorial/stable/sec-text-entry.html.en">https://developer.gnome.org/g=
tkmm-tutorial/stable/sec-text-entry.html.en</a><br>
<br>
Under section <br>
<h3 class=3D"sect3 title"><span class=3D"title"><span class=3D"label"=
>7.2.2.1.
=E2=80=83</span>Entry Completion Example</span></h3>
<p>In the examplewindow.h file, the line:<br>
</p>
<pre class=3D"programlisting">//bool on_completion_match(const Glib::=
ustring& key, const Gtk::TreeModel::const_iterator& iter);
</pre>
<p>Should not be commented out as this gives back an error when
compiling. An easy mistake to find for anyone to fix, but should
be addressed.<br>
</p>
<p>This is also apparent in the unstable tutorial as well FYI.<br>
</p>
<pre class=3D"moz-signature" cols=3D"72">--=20
Steve Gruspier
Electrical Engineer</pre>
</body>
</html>
--------------060609030006080507080306--
--===============7938085502297449562==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
gnome-web-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-web-list
--===============7938085502297449562==--