Skip to content
Browse files
libview: save inverted colors in a document
The web-view callback for inverted colors got called, and if it did not find a web-view open
it defaulted to FALSE for inverted colors.

origin commit:
  • Loading branch information
Piiit authored and raveit65 committed Mar 19, 2018
1 parent 6217a89 commit e4f8fce9875ce749ada754538a089415a23ce440
Showing with 3 additions and 0 deletions.
  1. +3 −0 libview/ev-web-view.c
@@ -252,6 +252,9 @@ ev_web_view_inverted_colors_changed_cb (EvDocumentModel *model,
EvWebView *webview)
EvDocument *document = ev_document_model_get_document(model);

if (!document || !document->iswebdocument)

if (ev_document_model_get_inverted_colors(model) == TRUE) {
if (document == NULL) {

0 comments on commit e4f8fce

Please sign in to comment.