mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 15:16:01 +01:00
Make get_formatted_filename static
It's only used in zathura.c Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
075924d108
commit
6a676cc5b5
2 changed files with 1 additions and 11 deletions
|
@ -546,7 +546,7 @@ document_info_open(gpointer data)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
static char*
|
||||||
get_formatted_filename(zathura_t* zathura, const char* file_path, bool statusbar)
|
get_formatted_filename(zathura_t* zathura, const char* file_path, bool statusbar)
|
||||||
{
|
{
|
||||||
bool basename_only = false;
|
bool basename_only = false;
|
||||||
|
|
|
@ -278,16 +278,6 @@ void zathura_set_plugin_dir(zathura_t* zathura, const char* dir);
|
||||||
*/
|
*/
|
||||||
void zathura_set_argv(zathura_t* zathura, char** argv);
|
void zathura_set_argv(zathura_t* zathura, char** argv);
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the filename formatted according to the user config.
|
|
||||||
* Takes into account the basename setting and the home-tilde setting.
|
|
||||||
*
|
|
||||||
* @param zatura The zathura session
|
|
||||||
* @param file_path The filename to be formatted
|
|
||||||
* @param statusbar True if for statusbar, false if for window title
|
|
||||||
*/
|
|
||||||
char* get_formatted_filename(zathura_t* zathura, const char* file_path, bool statusbar);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Opens a file
|
* Opens a file
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue