After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 310213 - Tutorial docs contain references to 1.2 which should be 2.0
Tutorial docs contain references to 1.2 which should be 2.0
Status: RESOLVED FIXED
Product: libsigc++
Classification: Bindings
Component: documentation
2.0.x
Other All
: Normal minor
: ---
Assigned To: Martin Schulze
Martin Schulze
Depends on:
Blocks:
 
 
Reported: 2005-07-13 12:22 UTC by Marble
Modified: 2005-07-13 12:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for docs (1.11 KB, patch)
2005-07-13 12:26 UTC, Marble
none Details | Review

Description Marble 2005-07-13 12:22:52 UTC
Documentation bug
Section: docs/manual/libsigc_manual.xml
<programlisting>g++ example1.cc -o eg1 `pkg-config --cflags --libs
sigc++-1.2`</programlisting>

and later

<para>See the reference documentation <ulink
url="http://libsigc.sourceforge.net/libsigc1_2/reference/">online</ulink></para>

Correct version:
<programlisting>g++ example1.cc -o eg1 `pkg-config --cflags --libs
sigc++-2.0`</programlisting>

and

<para>See the reference documentation <ulink
url="http://libsigc.sourceforge.net/libsigc2/docs/index.html">online</ulink></para>

respectively.

Other information:
Here's a cut'n'pastable patch:

--- libsigc_manual.xml~ 2005-01-11 13:11:23.000000000 +0000
+++ libsigc_manual.xml  2005-07-13 13:15:06.000000000 +0100
@@ -127,7 +127,7 @@
        <literal remap="tt">warn_people()</literal> function to a slot using the
<literal remap="tt">slot()</literal> function.</para>

        <para>To compile this example from the downloadable example code,
use:</para>
-       <programlisting>g++ example1.cc -o eg1 `pkg-config --cflags --libs
sigc++-1.2`</programlisting>
+       <programlisting>g++ example1.cc -o eg1 `pkg-config --cflags --libs
sigc++-2.0`</programlisting>
        <para>Note that those `` characters are backticks, not single quotes.
Run it with</para>
        <programlisting>./eg1</programlisting>
        <para>(Try not to panic when the aliens land!)</para>
@@ -484,6 +484,6 @@

 <chapter id="sec-reference">
 <title>Reference</title>
-       <para>See the reference documentation <ulink
url="http://libsigc.sourceforge.net/libsigc1_2/reference/">online</ulink></para>
+<para>See the reference documentation <ulink
url="http://libsigc.sourceforge.net/libsigc2/docs/index.html">online</ulink></para>
 </chapter>
 </book>
Comment 1 Marble 2005-07-13 12:26:09 UTC
Created attachment 49087 [details] [review]
patch for docs
Comment 2 Murray Cumming 2005-07-13 12:44:04 UTC
Committed and uploaded. Thanks. In future, do try to create a cvs patch and
patch the ChangeLog.