diff options
author | rbuj <[email protected]> | 2021-12-22 11:23:46 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-02-11 17:37:23 +0100 |
commit | b71aa9861c0bcaae602f42b24e18e2f816ceed03 (patch) | |
tree | 4e483b218f711b77dd031a427b9b1625f84fd551 /libview/ev-document-model.c | |
parent | 05dc26a2c8abd952e7b3d46dae719530a546f7d9 (diff) | |
download | atril-b71aa9861c0bcaae602f42b24e18e2f816ceed03.tar.bz2 atril-b71aa9861c0bcaae602f42b24e18e2f816ceed03.tar.xz |
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'libview/ev-document-model.c')
-rw-r--r-- | libview/ev-document-model.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libview/ev-document-model.c b/libview/ev-document-model.c index d5d97f62..c19f6544 100644 --- a/libview/ev-document-model.c +++ b/libview/ev-document-model.c @@ -500,7 +500,7 @@ _ev_document_model_set_dual_page_internal (EvDocumentModel *model, if (dual_page == model->dual_page) return; - model->dual_page = dual_page; + model->dual_page = (dual_page != FALSE); g_object_notify (G_OBJECT (model), "dual-page"); } @@ -566,7 +566,7 @@ ev_document_model_set_inverted_colors (EvDocumentModel *model, if (inverted_colors == model->inverted_colors) return; - model->inverted_colors = inverted_colors; + model->inverted_colors = (inverted_colors != FALSE); g_object_notify (G_OBJECT (model), "inverted-colors"); } @@ -590,7 +590,7 @@ ev_document_model_set_continuous (EvDocumentModel *model, if (continuous == model->continuous) return; - model->continuous = continuous; + model->continuous = (continuous != FALSE); g_object_notify (G_OBJECT (model), "continuous"); } @@ -634,7 +634,7 @@ ev_document_model_set_dual_page_odd_pages_left (EvDocumentModel *model, if (odd_left == model->dual_page_odd_left) return; - model->dual_page_odd_left = odd_left; + model->dual_page_odd_left = (odd_left != FALSE); g_object_notify (G_OBJECT (model), "dual-odd-left"); } @@ -658,7 +658,7 @@ ev_document_model_set_fullscreen (EvDocumentModel *model, if (fullscreen == model->fullscreen) return; - model->fullscreen = fullscreen; + model->fullscreen = (fullscreen != FALSE); g_object_notify (G_OBJECT (model), "fullscreen"); } |