From 9f9647d27b1d7d01b39241ee3a86f3dfc24196e0 Mon Sep 17 00:00:00 2001 From: rcaridade145 Date: Thu, 6 Feb 2020 20:02:12 +0000 Subject: theme: avoid deprecated g_memmove https://gitlab.gnome.org/GNOME/glib/commit/6554c91b https://gitlab.gnome.org/GNOME/glib/commit/6e4a7fca based on https://gitlab.gnome.org/GNOME/metacity/commit/359f60a6 --- src/ui/theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ui/theme.c b/src/ui/theme.c index 6c9636ec..4c3c20b1 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -1008,7 +1008,7 @@ meta_frame_layout_calc_geometry (const MetaFrameLayout *layout, } else - g_memmove (&(rect->clickable), &(rect->visible), sizeof(rect->clickable)); + memmove (&(rect->clickable), &(rect->visible), sizeof(rect->clickable)); *(right_bg_rects[i]) = rect->visible; @@ -1043,7 +1043,7 @@ meta_frame_layout_calc_geometry (const MetaFrameLayout *layout, rect->clickable.height = button_height; } else - g_memmove (&(rect->clickable), &(rect->visible), sizeof(rect->clickable)); + memmove (&(rect->clickable), &(rect->visible), sizeof(rect->clickable)); x = rect->visible.x + rect->visible.width + layout->button_border.right; if (left_buttons_has_spacer[i]) @@ -2530,7 +2530,7 @@ do_operations (PosExpr *exprs, */ if ((i+2) < *n_exprs) { - g_memmove (&exprs[i], &exprs[i+2], + memmove (&exprs[i], &exprs[i+2], sizeof (PosExpr) * (*n_exprs - i - 2)); } -- cgit v1.2.1