Unifying interfaces with up-to-date upstream devel branch. Making it buildable

This commit is contained in:
Viktor Walter 2021-12-01 21:07:54 +01:00
parent 4041d786d5
commit 3c438d946c
4 changed files with 3 additions and 3 deletions

View file

@ -519,6 +519,7 @@ error_ret:
return true; return true;
} }
bool bool
cmd_exec(girara_session_t* session, girara_list_t* argument_list) cmd_exec(girara_session_t* session, girara_list_t* argument_list)
{ {

View file

@ -57,8 +57,6 @@ cb_color_change(girara_session_t* session, const char* name,
const char* string_value = (const char*) value; const char* string_value = (const char*) value;
if (g_strcmp0(name, "highlight-color") == 0) { if (g_strcmp0(name, "highlight-color") == 0) {
parse_color(&zathura->ui.colors.highlight_color, string_value); parse_color(&zathura->ui.colors.highlight_color, string_value);
} else if (g_strcmp0(name, "highlight-fg") == 0) {
parse_color(&zathura->ui.colors.highlight_color_fg, string_value);
} else if (g_strcmp0(name, "highlight-active-color") == 0) { } else if (g_strcmp0(name, "highlight-active-color") == 0) {
parse_color(&zathura->ui.colors.highlight_color_active, string_value); parse_color(&zathura->ui.colors.highlight_color_active, string_value);
} else if (g_strcmp0(name, "recolor-darkcolor") == 0) { } else if (g_strcmp0(name, "recolor-darkcolor") == 0) {

View file

@ -1374,7 +1374,7 @@ document_open_synctex(zathura_t* zathura, const char* path, const char* uri,
void void
document_open_idle(zathura_t* zathura, const char* path, const char* password, document_open_idle(zathura_t* zathura, const char* path, const char* password,
int page_number, const char* mode, const char* synctex, int page_number, const char* mode, const char* synctex,
const char* search_string) const char* bookmark_name, const char *search_string)
{ {
g_return_if_fail(zathura != NULL); g_return_if_fail(zathura != NULL);
g_return_if_fail(path != NULL); g_return_if_fail(path != NULL);

View file

@ -107,6 +107,7 @@ struct zathura_s
struct struct
{ {
GdkRGBA highlight_color; /**< Color for highlighting */ GdkRGBA highlight_color; /**< Color for highlighting */
GdkRGBA highlight_color_fg; /**< Color for highlighting (foreground) */
GdkRGBA highlight_color_active; /** Color for highlighting */ GdkRGBA highlight_color_active; /** Color for highlighting */
GdkRGBA render_loading_bg; /**< Background color for render "Loading..." */ GdkRGBA render_loading_bg; /**< Background color for render "Loading..." */
GdkRGBA render_loading_fg; /**< Foreground color for render "Loading..." */ GdkRGBA render_loading_fg; /**< Foreground color for render "Loading..." */