forked from enlightenment/efl
efl_ui_table: fix correct parameters of table_rows_get
Test Plan: efl_pack_table_size_set(ui_table, 3, 4); efl_pack_table_size_get(ui_table, &cols, &rows); Check (cols, rows) are (3, 4) Reviewers: Jaehyun_Cho, zmike, jpeg, bu5hm4n Reviewed By: Jaehyun_Cho, bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7838
This commit is contained in:
parent
125b5c3191
commit
c9350e4ccb
|
@ -666,7 +666,7 @@ _efl_ui_table_efl_pack_table_table_rows_get(const Eo *obj EINA_UNUSED, Efl_Ui_Ta
|
|||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, 0);
|
||||
int rows;
|
||||
evas_object_table_col_row_size_get(wd->resize_obj, &rows, NULL);
|
||||
evas_object_table_col_row_size_get(wd->resize_obj, NULL, &rows);
|
||||
return rows;
|
||||
}
|
||||
return pd->req_rows;
|
||||
|
|
Loading…
Reference in New Issue