Use g_memdup2() with newer versions of GLib
commitb7d38e048fb44f60e3a4d0f9d49fdd21259afc4a
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 18 Apr 2021 10:08:27 +0000 (18 11:08 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 27 Apr 2021 15:54:22 +0000 (27 16:54 +0100)
tree0f1715bf98b738500ac52473aafc9d4829fc20d1
parent14385eeff3b9184c599614648b98458451b8db2b
Use g_memdup2() with newer versions of GLib

The g_memdup() function has been deprecated, as it takes the size of the
memory area as an unsigned integer. The g_memdup2() replacement uses the
more appropriate size_t type, instead.
util/cairo-gobject/cairo-gobject-structs.c