make input of completion callbacks const char*

This commit is contained in:
Sebastian Ramacher 2011-10-08 23:19:28 +02:00
parent d9d28bc544
commit 4efecff654

View file

@ -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);