[evolution] e-utils: replacing g_memmove with memmove
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] e-utils: replacing g_memmove with memmove
- Date: Wed, 27 Nov 2013 13:02:01 +0000 (UTC)
commit f72c529f093da0d9a94ef9f8dad797e96bf06bcd
Author: Alberto Ruiz <aruiz redhat com>
Date: Wed Nov 27 13:48:09 2013 +0100
e-utils: replacing g_memmove with memmove
glib has removed g_memmove, since it was a macro there is no ABI break but sources have to be adapted to
switch to memmove
See glib commit 6e4a7fca431f53fdfd89afbe956212229cf52200 for further reference.
e-util/e-attachment.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-attachment.c b/e-util/e-attachment.c
index 42d5e93..6b53c25 100644
--- a/e-util/e-attachment.c
+++ b/e-util/e-attachment.c
@@ -1863,7 +1863,7 @@ attachment_load_write_cb (GOutputStream *output_stream,
load_context->total_num_bytes, attachment);
if (bytes_written < load_context->bytes_read) {
- g_memmove (
+ memmove (
load_context->buffer,
load_context->buffer + bytes_written,
load_context->bytes_read - bytes_written);
@@ -2773,7 +2773,7 @@ attachment_save_write_cb (GOutputStream *output_stream,
input_stream = save_context->input_stream;
if (bytes_written < save_context->bytes_read) {
- g_memmove (
+ memmove (
save_context->buffer,
save_context->buffer + bytes_written,
save_context->bytes_read - bytes_written);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]