aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
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