summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdocument/ev-transition-effect.c2
-rw-r--r--libview/ev-document-model.c10
-rw-r--r--libview/ev-print-operation.c4
-rw-r--r--libview/ev-timeline.c2
-rw-r--r--shell/eggfindbar.c2
5 files changed, 10 insertions, 10 deletions
diff --git a/libdocument/ev-transition-effect.c b/libdocument/ev-transition-effect.c
index ce6798f4..b521ff91 100644
--- a/libdocument/ev-transition-effect.c
+++ b/libdocument/ev-transition-effect.c
@@ -81,7 +81,7 @@ ev_transition_effect_set_property (GObject *object,
priv->scale = g_value_get_double (value);
break;
case PROP_RECTANGULAR:
- priv->rectangular = g_value_get_boolean (value);
+ priv->rectangular = (g_value_get_boolean (value) != FALSE);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
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");
}
diff --git a/libview/ev-print-operation.c b/libview/ev-print-operation.c
index baccc179..f2e90ba3 100644
--- a/libview/ev-print-operation.c
+++ b/libview/ev-print-operation.c
@@ -1257,8 +1257,8 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial
export->pages_per_sheet = MAX (1, gtk_print_settings_get_number_up (print_settings));
export->copies = gtk_print_settings_get_n_copies (print_settings);
- export->collate = gtk_print_settings_get_collate (print_settings);
- export->reverse = gtk_print_settings_get_reverse (print_settings);
+ export->collate = (gtk_print_settings_get_collate (print_settings) != FALSE);
+ export->reverse = (gtk_print_settings_get_reverse (print_settings) != FALSE);
if (export->collate) {
export->uncollated_copies = export->copies;
diff --git a/libview/ev-timeline.c b/libview/ev-timeline.c
index c794a438..f37aa189 100644
--- a/libview/ev-timeline.c
+++ b/libview/ev-timeline.c
@@ -387,7 +387,7 @@ ev_timeline_set_loop (EvTimeline *timeline,
g_return_if_fail (EV_IS_TIMELINE (timeline));
priv = ev_timeline_get_instance_private (timeline);
- priv->loop = loop;
+ priv->loop = (loop != FALSE);
g_object_notify (G_OBJECT (timeline), "loop");
}
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index 13d7feb8..99e83921 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -617,7 +617,7 @@ egg_find_bar_set_case_sensitive (EggFindBar *find_bar,
if (priv->case_sensitive != case_sensitive)
{
- priv->case_sensitive = case_sensitive;
+ priv->case_sensitive = (case_sensitive != FALSE);
gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (priv->case_button),
priv->case_sensitive);