[gmime] Updated tutorial
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Updated tutorial
- Date: Thu, 28 Oct 2010 14:05:28 +0000 (UTC)
commit 719cd0f325b63a28eb7e95eebe54577d249f00ea
Author: Jeffrey Stedfast <fejj gnome org>
Date: Thu Oct 28 10:05:13 2010 -0400
Updated tutorial
docs/tutorial/gmime-tut.sgml | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/docs/tutorial/gmime-tut.sgml b/docs/tutorial/gmime-tut.sgml
index c09390a..57b3c61 100644
--- a/docs/tutorial/gmime-tut.sgml
+++ b/docs/tutorial/gmime-tut.sgml
@@ -5,15 +5,15 @@
<book id="gmime-tut">
<bookinfo>
- <title>GMime 2.0 tutorial</title>
- <date>May 18, 2003</date>
+ <title>GMime 2.6 tutorial</title>
+ <date>Oct 28, 2010</date>
<authorgroup>
<author>
<firstname>Jeffrey</firstname>
<surname>Stedfast</surname>
<affiliation>
<address>
- <email>fejj ximian com</email>
+ <email>fejj gnome org</email>
</address>
</affiliation>
</author>
@@ -56,7 +56,7 @@ licenses or royalties.</para>
<itemizedlist>
<listitem>
- <simpara>Jeffrey Stedfast <ulink url="mailto:fejj ximian com">fejj gnome org</ulink></simpara>
+ <simpara>Jeffrey Stedfast <ulink url="mailto:fejj gnome org">fejj gnome org</ulink></simpara>
</listitem>
</itemizedlist>
@@ -659,8 +659,6 @@ save_attachment (GMimePart *part)
content = g_mime_part_get_content_object (part);
g_mime_data_wrapper_write_to_stream (content, stream);
g_mime_stream_flush (stream);
-
- g_object_unref (content);
g_object_unref (stream);
}
</programlisting>
@@ -672,9 +670,9 @@ save_attachment (GMimePart *part)
<literal>g_mime_data_wrapper_write_to_stream()</literal>. On
fail, this function will return <literal>-1</literal>, otherwise
it will return some positive value which will usually equate to
- the number of bytes written (but not always); generally it's a
- good idea to not rely on the returned value for anything other
- than error-checking.</para>
+ the number of bytes written (but not always, due to filter
+ transformations); generally it's a good idea to not rely on the
+ returned value for anything other than error-checking.</para>
</sect1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]