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:
Sebastian Ramacher 2015-10-07 20:10:32 +02:00
parent 075924d108
commit 6a676cc5b5
2 changed files with 1 additions and 11 deletions

View File

@ -546,7 +546,7 @@ document_info_open(gpointer data)
return FALSE;
}
char*
static char*
get_formatted_filename(zathura_t* zathura, const char* file_path, bool statusbar)
{
bool basename_only = false;

View File

@ -278,16 +278,6 @@ void zathura_set_plugin_dir(zathura_t* zathura, const char* dir);
*/
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
*