summaryrefslogtreecommitdiff
path: root/eel/eel-editable-label.c
diff options
context:
space:
mode:
Diffstat (limited to 'eel/eel-editable-label.c')
-rw-r--r--eel/eel-editable-label.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c
index 08a19531..d18f5df9 100644
--- a/eel/eel-editable-label.c
+++ b/eel/eel-editable-label.c
@@ -763,7 +763,7 @@ eel_editable_label_set_draw_outline (EelEditableLabel *label,
if (label->draw_outline != draw_outline)
{
- label->draw_outline = draw_outline;
+ label->draw_outline = (draw_outline != FALSE);
gtk_widget_queue_draw (GTK_WIDGET (label));
}
@@ -789,7 +789,7 @@ eel_editable_label_set_line_wrap (EelEditableLabel *label,
if (label->wrap != wrap)
{
- label->wrap = wrap;
+ label->wrap = (wrap != FALSE);
g_object_notify (G_OBJECT (label), "wrap");
gtk_widget_queue_resize (GTK_WIDGET (label));
@@ -978,7 +978,7 @@ eel_editable_label_ensure_layout (EelEditableLabel *label,
{
label->layout = gtk_widget_create_pango_layout (widget, label->text);
}
- label->layout_includes_preedit = include_preedit;
+ label->layout_includes_preedit = (include_preedit != FALSE);
if (label->font_desc != NULL)
pango_layout_set_font_description (label->layout, label->font_desc);