diff options
author | Stefano Karapetsas <[email protected]> | 2014-01-14 16:03:36 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-01-14 16:03:36 +0100 |
commit | 546ab8c2d6fdb11555d45497441812bf884b3f0e (patch) | |
tree | 106a7fe89590b5c0b065b9c5b85f7c08929708c1 /eel | |
parent | 8c93c83c6b063adb5d88b7bb1ad31d46a9f8e1e0 (diff) | |
download | caja-546ab8c2d6fdb11555d45497441812bf884b3f0e.tar.bz2 caja-546ab8c2d6fdb11555d45497441812bf884b3f0e.tar.xz |
Use memmove with latest glib (>= 2.39)
g_memmove is removed in https://git.gnome.org/browse/glib/commit/?id=6e4a7fca431f53fdfd89afbe956212229cf52200
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-editable-label.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c index f7ec2d41..c5802bf2 100644 --- a/eel/eel-editable-label.c +++ b/eel/eel-editable-label.c @@ -44,6 +44,11 @@ #define GtkEditableInterface GtkEditableClass #endif +/* g_memmove is removed in glib 2.40 */ +#if GLIB_CHECK_VERSION (2, 39, 0) +#define g_memmove memmove +#endif + enum { MOVE_CURSOR, |