From 7d64342c6914b8f502512fd111ec3acb2083741e Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 20 Dec 2021 22:08:18 +0100 Subject: Fix implicit conversion changes signedness: 'gboolean' to 'guint' --- eel/eel-editable-label.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eel/eel-editable-label.c') 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); -- cgit v1.2.1