summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrcaridade145 <[email protected]>2020-02-06 20:02:12 +0000
committerraveit65 <[email protected]>2020-02-21 17:08:57 +0100
commit7ffa17976ba5d0549ac2fb8a81c65dd19aac3767 (patch)
tree33d96d3c2e38283c6144bcde121cad5c18285bf1
parentfaee4a869d35739020cf6ec25ccbd819166b0eac (diff)
downloadmarco-7ffa17976ba5d0549ac2fb8a81c65dd19aac3767.tar.bz2
marco-7ffa17976ba5d0549ac2fb8a81c65dd19aac3767.tar.xz
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
-rw-r--r--src/ui/theme.c6
1 files changed, 3 insertions, 3 deletions
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));
}