summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-06-16 16:05:00 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-06-17 11:37:39 +0900
commitd4b96d33d6d0cd0898beb429bccb35da11fc7d4a (patch)
tree9197247ea9adb8413abb4dc83c20391f7ee5f249 /src/examples
parent76d2778177681cd170dfce4575a0e4c7c2385771 (diff)
Evas: Mark type as legacy and protected
Only set() is allowed for EO, and it's a constructor, protected function. Unfortunately, this means a lot of #define EVAS_OBJECT_PROTECTED
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-object-manipulation-eo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/examples/evas/evas-object-manipulation-eo.c b/src/examples/evas/evas-object-manipulation-eo.c
index f32de7b..be50221 100644
--- a/src/examples/evas/evas-object-manipulation-eo.c
+++ b/src/examples/evas/evas-object-manipulation-eo.c
@@ -209,10 +209,8 @@ main(void)
209 efl_gfx_position_set(d.img, 0, 0); 209 efl_gfx_position_set(d.img, 0, 0);
210 efl_gfx_size_set(d.img, WIDTH, HEIGHT); 210 efl_gfx_size_set(d.img, WIDTH, HEIGHT);
211 efl_gfx_visible_set(d.img, EINA_TRUE); 211 efl_gfx_visible_set(d.img, EINA_TRUE);
212 212 fprintf(stdout, "Image object added, class name is: %s\n",
213 const char *type = NULL; 213 eo_class_name_get(d.img));
214 type = evas_obj_type_get(d.img);
215 fprintf(stdout, "Image object added, type is: %s\n", type);
216 } 214 }
217 215
218 /* border on the image's clipper, here just to emphasize its position */ 216 /* border on the image's clipper, here just to emphasize its position */