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 Jun 19, 2017
1 parent 4bb14f5 commit e51014b5a0b2750df5ccfe98696227c949c93c28
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 e51014b

Please sign in to comment.
You can’t perform that action at this time.