From c2c87dbc3b7854fba6b858c5682e91f2e053908a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 29 Jun 2019 15:37:10 +0100 Subject: Remove uses of g_memmove() There's no reason to use g_memmove() instead of memmove(). The `g_memmove()` wrapper was a symbol internal to GLib between 2004 and 2013, when it was exposed as a plain C pre-processor symbol around C90's memmove(). Starting from GLib 2.61, using g_memmove() is going to raise a deprecation warning from the compiler. --- tests/pixbuf-randomly-modified.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/pixbuf-randomly-modified.c b/tests/pixbuf-randomly-modified.c index 8b380a097..932e53cbc 100644 --- a/tests/pixbuf-randomly-modified.c +++ b/tests/pixbuf-randomly-modified.c @@ -41,7 +41,7 @@ randomly_modify (const gchar *image, guint size) int i, n; guchar *img_copy = g_malloc (size); - g_memmove (img_copy, image, size); + memmove (img_copy, image, size); n = MIN (100, size / 4); -- cgit v1.2.1