summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:00 -0500
commitf7651bdc12253968bb1dda4d503d74341f6476f1 (patch)
tree81902388a9e85262b27c3637a9fc81eabcbf1a7d /src/lib/elementary
parent504ad62a6bc6c02cf8bb6727aeda4c7090af261b (diff)
downloadefl-f7651bdc12253968bb1dda4d503d74341f6476f1.tar.gz
elm_grid: size -> grid_size
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_grid.c4
-rw-r--r--src/lib/elementary/elm_grid.eo4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_grid.c b/src/lib/elementary/elm_grid.c
index d93c1003a0..fe44f085b4 100644
--- a/src/lib/elementary/elm_grid.c
+++ b/src/lib/elementary/elm_grid.c
@@ -104,7 +104,7 @@ _elm_grid_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
}
EOLIAN static void
-_elm_grid_size_set(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
+_elm_grid_grid_size_set(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
@@ -112,7 +112,7 @@ _elm_grid_size_set(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
}
EOLIAN static void
-_elm_grid_size_get(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord *w, Evas_Coord *h)
+_elm_grid_grid_size_get(Eo *obj, void *_pd EINA_UNUSED, Evas_Coord *w, Evas_Coord *h)
{
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
diff --git a/src/lib/elementary/elm_grid.eo b/src/lib/elementary/elm_grid.eo
index 61996cd5a4..ebf5bb2929 100644
--- a/src/lib/elementary/elm_grid.eo
+++ b/src/lib/elementary/elm_grid.eo
@@ -5,12 +5,14 @@ class Elm.Grid (Efl.Ui.Widget, Efl.Ui.Focus.Composition, Efl.Ui.Legacy)
eo_prefix: elm_obj_grid;
data: null;
methods {
- @property size {
+ @property grid_size {
set {
[[Set the virtual size of the grid]]
+ legacy: elm_grid_size_set;
}
get {
[[Get the virtual size of the grid]]
+ legacy: elm_grid_size_get;
}
values {
w: int; [[The virtual width of the grid]]