summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,