diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-23 22:28:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-24 23:05:27 +0800 |
commit | bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7 (patch) | |
tree | f5d0cc91fc1568431e0b457406a9b3ea21157e0e /e-util/e-signature-utils.c | |
parent | f862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff) | |
download | gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip |
Camel is now GObject-based.
Diffstat (limited to 'e-util/e-signature-utils.c')
-rw-r--r-- | e-util/e-signature-utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/e-util/e-signature-utils.c b/e-util/e-signature-utils.c index 5680278ae1..6a8258cb88 100644 --- a/e-util/e-signature-utils.c +++ b/e-util/e-signature-utils.c @@ -177,7 +177,7 @@ e_read_signature_file (ESignature *signature, filtered_stream = camel_stream_filter_new (input_stream); - camel_object_unref (input_stream); + g_object_unref (input_stream); flags = CAMEL_MIME_FILTER_TOHTML_PRESERVE_8BIT | @@ -187,7 +187,7 @@ e_read_signature_file (ESignature *signature, filter = camel_mime_filter_tohtml_new (flags, 0); camel_stream_filter_add ( CAMEL_STREAM_FILTER (filtered_stream), filter); - camel_object_unref (filter); + g_object_unref (filter); input_stream = filtered_stream; } @@ -197,8 +197,8 @@ e_read_signature_file (ESignature *signature, camel_stream_mem_set_byte_array ( CAMEL_STREAM_MEM (output_stream), buffer); camel_stream_write_to_stream (input_stream, output_stream); - camel_object_unref (output_stream); - camel_object_unref (input_stream); + g_object_unref (output_stream); + g_object_unref (input_stream); /* Make sure the buffer is nul-terminated. */ length = (gsize) buffer->len; @@ -291,9 +291,9 @@ e_run_signature_script (const gchar *filename) input_stream = camel_stream_fs_new_with_fd (in_fds[0]); camel_stream_write_to_stream (input_stream, output_stream); - camel_object_unref (input_stream); + g_object_unref (input_stream); - camel_object_unref (output_stream); + g_object_unref (output_stream); /* Make sure the buffer is nul-terminated. */ length = (gsize) buffer->len; |