From 4efecff6547e97009bee9eb341aaae155dc7a079 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sat, 8 Oct 2011 23:19:28 +0200 Subject: [PATCH] make input of completion callbacks const char* --- completion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completion.c b/completion.c index 724f950..9fa64a6 100644 --- a/completion.c +++ b/completion.c @@ -11,7 +11,7 @@ #include "utils.h" girara_completion_t* -cc_open(girara_session_t* session, char* input) +cc_open(girara_session_t* session, const char* input) { g_return_val_if_fail(session != NULL, NULL); g_return_val_if_fail(session->global.data != NULL, NULL); @@ -145,7 +145,7 @@ error_free: } girara_completion_t* -cc_bookmarks(girara_session_t* session, char* input) +cc_bookmarks(girara_session_t* session, const char* input) { g_return_val_if_fail(session != NULL, NULL); g_return_val_if_fail(session->global.data != NULL, NULL);