gmime r1259 - trunk/examples
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1259 - trunk/examples
- Date: Sat, 24 May 2008 12:15:01 +0000 (UTC)
Author: fejj
Date: Sat May 24 12:15:01 2008
New Revision: 1259
URL: http://svn.gnome.org/viewvc/gmime?rev=1259&view=rev
Log:
don't use g_mime_stream_unref
Modified:
trunk/examples/imap-example.c
Modified: trunk/examples/imap-example.c
==============================================================================
--- trunk/examples/imap-example.c (original)
+++ trunk/examples/imap-example.c Sat May 24 12:15:01 2008
@@ -310,7 +310,7 @@
ostream = g_mime_stream_file_new (fp);
g_mime_object_write_to_stream (GMIME_OBJECT (message), ostream);
- g_mime_stream_unref (ostream);
+ g_object_unref (ostream);
} else if (GMIME_IS_PART (part)) {
buf = g_strdup_printf ("%s/%s.TEXT", uid, spec);
fp = fopen (buf, "wt");
@@ -320,8 +320,8 @@
istream = g_mime_data_wrapper_get_stream (GMIME_PART (part)->content);
g_mime_stream_write_to_stream (istream, ostream);
- g_mime_stream_unref (istream);
- g_mime_stream_unref (ostream);
+ g_object_unref (istream);
+ g_object_unref (ostream);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]