summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-20 22:08:18 +0100
committerraveit65 <[email protected]>2022-02-09 19:40:31 +0100
commit7d64342c6914b8f502512fd111ec3acb2083741e (patch)
tree7100492159efad69084d1103be75839d21535ec0 /eel
parentb6d46039be75bd2b868ee6c32b091a1e37720a20 (diff)
downloadcaja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.bz2
caja-7d64342c6914b8f502512fd111ec3acb2083741e.tar.xz
Fix implicit conversion changes signedness: 'gboolean' to 'guint'
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-canvas-rect-ellipse.c4
-rw-r--r--eel/eel-editable-label.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/eel/eel-canvas-rect-ellipse.c b/eel/eel-canvas-rect-ellipse.c
index 9b2feba4..9cb25fb5 100644
--- a/eel/eel-canvas-rect-ellipse.c
+++ b/eel/eel-canvas-rect-ellipse.c
@@ -204,7 +204,7 @@ eel_canvas_re_set_fill (EelCanvasRE *re, gboolean fill_set)
{
if (re->fill_set != fill_set)
{
- re->fill_set = fill_set;
+ re->fill_set = (fill_set != FALSE);
eel_canvas_item_request_update (EEL_CANVAS_ITEM (re));
}
}
@@ -214,7 +214,7 @@ eel_canvas_re_set_outline (EelCanvasRE *re, gboolean outline_set)
{
if (re->outline_set != outline_set)
{
- re->outline_set = outline_set;
+ re->outline_set = (outline_set != FALSE);
eel_canvas_item_request_update (EEL_CANVAS_ITEM (re));
}
}
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);