Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
b64b7132
Commit
b64b7132
authored
Jan 26, 2017
by
Sebastian Ramacher
Browse files
Return const char
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
0263a7fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
zathura/plugin.c
View file @
b64b7132
...
...
@@ -409,7 +409,7 @@ zathura_plugin_set_name(zathura_plugin_t* plugin, const char* name)
}
}
char
*
const
char
*
zathura_plugin_get_name
(
zathura_plugin_t
*
plugin
)
{
if
(
plugin
!=
NULL
)
{
...
...
zathura/utils.c
View file @
b64b7132
...
...
@@ -200,7 +200,7 @@ zathura_get_version_string(zathura_t* zathura, bool markup)
girara_list_t
*
plugins
=
zathura_plugin_manager_get_plugins
(
zathura
->
plugins
.
manager
);
if
(
plugins
!=
NULL
)
{
GIRARA_LIST_FOREACH
(
plugins
,
zathura_plugin_t
*
,
iter
,
plugin
)
{
char
*
name
=
zathura_plugin_get_name
(
plugin
);
const
char
*
name
=
zathura_plugin_get_name
(
plugin
);
zathura_plugin_version_t
version
=
zathura_plugin_get_version
(
plugin
);
g_string_append_printf
(
string
,
format
,
(
name
==
NULL
)
?
"-"
:
name
,
...
...
Write
Preview
Markdown
is supported
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