summaryrefslogtreecommitdiff
path: root/eel/eel-editable-label.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-14 16:03:36 +0100
committerStefano Karapetsas <[email protected]>2014-01-14 16:03:36 +0100
commit546ab8c2d6fdb11555d45497441812bf884b3f0e (patch)
tree106a7fe89590b5c0b065b9c5b85f7c08929708c1 /eel/eel-editable-label.c
parent8c93c83c6b063adb5d88b7bb1ad31d46a9f8e1e0 (diff)
downloadcaja-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/eel-editable-label.c')
-rw-r--r--eel/eel-editable-label.c5
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,