Commit 6a676cc5 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Make get_formatted_filename static

It's only used in zathura.c
Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 075924d1
......@@ -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;
......
......@@ -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
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment