Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
4efecff6
Commit
4efecff6
authored
Oct 08, 2011
by
Sebastian Ramacher
Browse files
make input of completion callbacks const char*
parent
d9d28bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
completion.c
View file @
4efecff6
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment