diff options
author | rbuj <[email protected]> | 2021-12-20 22:08:18 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-02-09 19:40:31 +0100 |
commit | 7d64342c6914b8f502512fd111ec3acb2083741e (patch) | |
tree | 7100492159efad69084d1103be75839d21535ec0 /eel/eel-editable-label.c | |
parent | b6d46039be75bd2b868ee6c32b091a1e37720a20 (diff) | |
download | caja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.bz2 caja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.xz |
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'eel/eel-editable-label.c')
-rw-r--r-- | eel/eel-editable-label.c | 6 |
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); |