Skip to content


libview: save inverted colors in a document
Browse files Browse the repository at this point in the history
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 4bb14f5 commit e51014b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libview/ev-web-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e51014b

Please sign in to comment.