diff options
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-canvas-rect-ellipse.c | 4 | ||||
-rw-r--r-- | eel/eel-editable-label.c | 6 |
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); |