mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:36:01 +01:00
make input of completion callbacks const char*
This commit is contained in:
parent
d9d28bc544
commit
4efecff654
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue