efl_ui_table: fix correct parameters of table_rows_get
authorYeongjong Lee <yj34.lee@samsung.com>
Fri, 22 Feb 2019 11:05:39 +0000 (20:05 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:35 +0000 (20:49 +0900)
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

src/lib/elementary/efl_ui_table.c

index 3a90eb0..889dc42 100644 (file)
@@ -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;