mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:06:02 +01:00
const correctness
This commit is contained in:
parent
5c71589c6f
commit
777e19baf4
2 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ cmd_savef(girara_session_t* session, girara_list_t* argument_list)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
cmd_search(girara_session_t* session, char* input, girara_argument_t* argument)
|
cmd_search(girara_session_t* session, const char* input, girara_argument_t* argument)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail(session != NULL, false);
|
g_return_val_if_fail(session != NULL, false);
|
||||||
g_return_val_if_fail(input != NULL, false);
|
g_return_val_if_fail(input != NULL, false);
|
||||||
|
|
|
@ -104,6 +104,6 @@ bool cmd_savef(girara_session_t* session, girara_list_t* argument_list);
|
||||||
* @param argument Passed argument
|
* @param argument Passed argument
|
||||||
* @return true if no error occured
|
* @return true if no error occured
|
||||||
*/
|
*/
|
||||||
bool cmd_search(girara_session_t* session, char* input, girara_argument_t* argument);
|
bool cmd_search(girara_session_t* session, const char* input, girara_argument_t* argument);
|
||||||
|
|
||||||
#endif // COMMANDS_H
|
#endif // COMMANDS_H
|
||||||
|
|
Loading…
Reference in a new issue