[metacity] libmetacity: avoid deprecated g_memmove



commit 359f60a6aee5f1338a5edd9f4d84557126c6d46e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Jul 18 21:05:23 2019 +0300

    libmetacity: avoid deprecated g_memmove
    
    https://gitlab.gnome.org/GNOME/glib/commit/6554c91b1312013e42b429
    https://gitlab.gnome.org/GNOME/glib/commit/6e4a7fca431f53fdfd89af

 libmetacity/meta-draw-spec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libmetacity/meta-draw-spec.c b/libmetacity/meta-draw-spec.c
index 0f0902ce..39ee30b1 100644
--- a/libmetacity/meta-draw-spec.c
+++ b/libmetacity/meta-draw-spec.c
@@ -871,8 +871,8 @@ do_operations (PosExpr *exprs,
            */
           if ((i+2) < *n_exprs)
             {
-              g_memmove (&exprs[i], &exprs[i+2],
-                         sizeof (PosExpr) * (*n_exprs - i - 2));
+              memmove (&exprs[i], &exprs[i+2],
+                       sizeof (PosExpr) * (*n_exprs - i - 2));
             }
 
           *n_exprs -= 2;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]