[gmime] Fixed GMimePart logic to block/unblock GMimeHeaderList events
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Fixed GMimePart logic to block/unblock GMimeHeaderList events
- Date: Wed, 20 Dec 2017 17:11:33 +0000 (UTC)
commit bc3f54cbb47257d1403b487e9e60264e3cf1126f
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date: Fri Dec 15 13:31:55 2017 -0500
Fixed GMimePart logic to block/unblock GMimeHeaderList events
gmime/gmime-part.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gmime/gmime-part.c b/gmime/gmime-part.c
index 057dc4f..7c4ff75 100644
--- a/gmime/gmime-part.c
+++ b/gmime/gmime-part.c
@@ -757,7 +757,7 @@ g_mime_part_set_content_location (GMimePart *mime_part, const char *content_loca
_g_mime_object_block_header_list_changed (object);
g_mime_header_list_set (object->headers, "Content-Location", content_location, NULL);
- _g_mime_object_block_header_list_changed (object);
+ _g_mime_object_unblock_header_list_changed (object);
}
@@ -802,7 +802,7 @@ g_mime_part_set_content_encoding (GMimePart *mime_part, GMimeContentEncoding enc
g_mime_header_list_set (object->headers, "Content-Transfer-Encoding", value, NULL);
else
g_mime_header_list_remove (object->headers, "Content-Transfer-Encoding");
- _g_mime_object_block_header_list_changed (object);
+ _g_mime_object_unblock_header_list_changed (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]