aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-23 22:28:53 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-24 23:05:27 +0800
commitbc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7 (patch)
treef5d0cc91fc1568431e0b457406a9b3ea21157e0e /e-util
parentf862e946b83d5f70001c3d81290ecc8a0d8ca2a0 (diff)
downloadgsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.gz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.bz2
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.lz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.xz
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.tar.zst
gsoc2013-evolution-bc90469e7f3bfd31dc6530c2d1ba1cc519a8a3a7.zip
Camel is now GObject-based.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-signature-utils.c12
-rw-r--r--e-util/e-util.c4
2 files changed, 8 insertions, 8 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;
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 7b17f110f5..e55edfb883 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -1488,7 +1488,7 @@ static gpointer
e_camel_object_copy (gpointer camel_object)
{
if (CAMEL_IS_OBJECT (camel_object))
- camel_object_ref (camel_object);
+ g_object_ref (camel_object);
return camel_object;
}
@@ -1497,7 +1497,7 @@ static void
e_camel_object_free (gpointer camel_object)
{
if (CAMEL_IS_OBJECT (camel_object))
- camel_object_unref (camel_object);
+ g_object_unref (camel_object);
}
GType