From 185fe20e881f8f460f8468d939a8cb6a3171283c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Fri, 18 Mar 2016 15:02:37 +0900 Subject: [PATCH] Remove efl_gfx_filled_set() as eo-created images are filled This is a behaviour change between legacy and eo apis. To be discussed, of course, if someone disagrees. --- src/bin/widgets_list_1.c | 1 - src/bin/widgets_list_1_grouped.c | 1 - src/bin/widgets_list_2.c | 1 - src/bin/widgets_list_2_grouped.c | 1 - src/bin/widgets_list_3.c | 2 -- src/bin/widgets_list_3_grouped.c | 2 -- src/bin/widgets_list_4.c | 2 -- src/bin/widgets_list_4_grouped.c | 2 -- 8 files changed, 12 deletions(-) diff --git a/src/bin/widgets_list_1.c b/src/bin/widgets_list_1.c index 526d888..44351b1 100644 --- a/src/bin/widgets_list_1.c +++ b/src/bin/widgets_list_1.c @@ -64,7 +64,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); diff --git a/src/bin/widgets_list_1_grouped.c b/src/bin/widgets_list_1_grouped.c index 1c8ab3c..3aa8296 100644 --- a/src/bin/widgets_list_1_grouped.c +++ b/src/bin/widgets_list_1_grouped.c @@ -64,7 +64,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); diff --git a/src/bin/widgets_list_2.c b/src/bin/widgets_list_2.c index 6785d27..f59cbe1 100644 --- a/src/bin/widgets_list_2.c +++ b/src/bin/widgets_list_2.c @@ -64,7 +64,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c index 1568c3e..ad3d866 100644 --- a/src/bin/widgets_list_2_grouped.c +++ b/src/bin/widgets_list_2_grouped.c @@ -64,7 +64,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); diff --git a/src/bin/widgets_list_3.c b/src/bin/widgets_list_3.c index cd388a1..52b6e01 100644 --- a/src/bin/widgets_list_3.c +++ b/src/bin/widgets_list_3.c @@ -85,7 +85,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); @@ -93,7 +92,6 @@ static void _setup(void) o = eo_add(EVAS_IMAGE_CLASS, evas); o_icons[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path(icons[i % 13]), NULL); efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); diff --git a/src/bin/widgets_list_3_grouped.c b/src/bin/widgets_list_3_grouped.c index 7d6eb8b..30bb97f 100644 --- a/src/bin/widgets_list_3_grouped.c +++ b/src/bin/widgets_list_3_grouped.c @@ -85,7 +85,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); @@ -93,7 +92,6 @@ static void _setup(void) o = eo_add(EVAS_IMAGE_CLASS, evas); o_icons[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path(icons[i % 13]), NULL); efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); diff --git a/src/bin/widgets_list_4.c b/src/bin/widgets_list_4.c index 52f2eb4..7eb4672 100644 --- a/src/bin/widgets_list_4.c +++ b/src/bin/widgets_list_4.c @@ -85,7 +85,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); @@ -93,7 +92,6 @@ static void _setup(void) o = eo_add(EVAS_IMAGE_CLASS, evas); o_icons[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path(icons[i % 13]), NULL); efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); diff --git a/src/bin/widgets_list_4_grouped.c b/src/bin/widgets_list_4_grouped.c index 377c27a..29136e1 100644 --- a/src/bin/widgets_list_4_grouped.c +++ b/src/bin/widgets_list_4_grouped.c @@ -85,7 +85,6 @@ static void _setup(void) { o = eo_add(EVAS_IMAGE_CLASS, evas); o_images[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path("pan.png"), NULL); efl_gfx_size_set(o, win_w, ICON_SIZE); @@ -93,7 +92,6 @@ static void _setup(void) o = eo_add(EVAS_IMAGE_CLASS, evas); o_icons[i] = o; - efl_gfx_fill_filled_set(o, 1); efl_image_border_set(o, 2, 2, 2, 2); efl_file_set(o, build_path(icons[i % 13]), NULL); efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8);