From 294d3ec5a0ae4a818fb2ce53d27a0a935a9ef760 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sun, 31 Dec 2017 02:55:38 +0100 Subject: keybindings.c: Fix build warning: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit assignment discards ‘const’ qualifier from pointer target type --- src/core/keybindings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/keybindings.c b/src/core/keybindings.c index 388c723f..4dff55a0 100644 --- a/src/core/keybindings.c +++ b/src/core/keybindings.c @@ -3591,7 +3591,8 @@ handle_rename_workspace(MetaDisplay *display, XEvent *event, MetaKeyBinding *binding) { - gchar *window_title, *window_content, *entry_text; + gchar *window_title, *window_content; + const char *entry_text; GPid dialog_pid; meta_topic (META_DEBUG_KEYBINDINGS, "handle_rename_workspace: called.\n"); -- cgit v1.2.1