summaryrefslogtreecommitdiff
path: root/PORTING
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2008-05-24 13:05:02 +0000
committerJeffrey Stedfast <fejj@src.gnome.org>2008-05-24 13:05:02 +0000
commitdeeb0c70e63f289bc2835a1d9e434798b3f937a6 (patch)
treeb1ba0faeb41d62dcd2868bf367ce3d177993f17e /PORTING
parentfeb45de5333d22e289124ac166ed6bf78bf0ff22 (diff)
downloadgmime-deeb0c70e63f289bc2835a1d9e434798b3f937a6.tar.gz
updated PORTING and changes-2.4.sgml to reflect removed deprecated functions
svn path=/trunk/; revision=1264
Diffstat (limited to 'PORTING')
-rw-r--r--PORTING27
1 files changed, 27 insertions, 0 deletions
diff --git a/PORTING b/PORTING
index 159f39f7..db44647a 100644
--- a/PORTING
+++ b/PORTING
@@ -17,6 +17,33 @@ that used to use off_t in GMime 2.2 now use gint64 so that the API and
ABI do not change based on whether or not large file support is
supported.
+In addition, some of the deprecated functions were removed if they had
+equivalent functionality in a parent class. The list of removed
+functions are as follows:
+
+- g_mime_stream_ref()
+- g_mime_stream_unref()
+
+- g_mime_object_ref()
+- g_mime_object_unref()
+
+- g_mime_part_to_string()
+- g_mime_part_write_to_stream()
+
+- g_mime_message_to_string()
+- g_mime_message_write_to_stream()
+
+If you were using any of the ref() or unref() functions listed above,
+you can replace them with calls to g_object_ref() or g_object_unref()
+instead.
+
+Calls to g_mime_part_to_string() or g_mime_message_to_string() should
+be replaced with calls to g_mime_object_to_string() instead.
+
+Similarly, calls to g_mime_part_write_to_stream() or
+g_mime_message_write_to_stream() should be replaced with calls to
+g_mime_object_write_to_stream() instead.
+
Porting from GMime 2.0 to GMime 2.2
-----------------------------------