editor: fix a strange crash in calculations

Seems that gutter was not always correct after eo_do
This commit is contained in:
Andy Williams 2015-06-09 22:31:57 +01:00
parent 4da088b51c
commit 8d17e2710f
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ _elm_code_widget_fill_gutter(Elm_Code_Widget *widget, Evas_Textgrid_Cell *cells,
Elm_Code_Widget_Data *pd;
pd = eo_data_scope_get(widget, ELM_CODE_WIDGET_CLASS);
eo_do(widget, gutter = elm_obj_code_widget_text_left_gutter_width_get());
gutter = elm_code_widget_text_left_gutter_width_get(widget);
evas_object_textgrid_size_get(pd->grid, &w, NULL);