From 09d8ff787b49ccc34ebd4dcd940301aaeacbf95a Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Tue, 8 Aug 2017 15:53:59 +0900 Subject: [PATCH] examples: Fix sp. exemple_data Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5075 --- src/examples/evas/evas-box.c | 4 ++-- src/examples/evas/evas-map-aa-eo.c | 4 ++-- src/examples/evas/evas-map-aa.c | 4 ++-- src/examples/evas/evas-transparent.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/examples/evas/evas-box.c b/src/examples/evas/evas-box.c index 22d445f..314fe5f 100644 --- a/src/examples/evas/evas-box.c +++ b/src/examples/evas/evas-box.c @@ -45,14 +45,14 @@ static const char *commands = \ "\tShift + NUMBER - remove the child object at that position in the box\n" "\th - print help\n"; -struct exemple_data +struct example_data { Ecore_Evas *ee; Evas *evas; Evas_Object *bg, *box, *border; }; -static struct exemple_data d; +static struct example_data d; static void /* custom 'diagonal' layout */ _custom_layout(Evas_Object *o, diff --git a/src/examples/evas/evas-map-aa-eo.c b/src/examples/evas/evas-map-aa-eo.c index 3b6b78b..818ebc6 100644 --- a/src/examples/evas/evas-map-aa-eo.c +++ b/src/examples/evas/evas-map-aa-eo.c @@ -33,7 +33,7 @@ #define IMAGE_SIZE_W 256 #define IMAGE_SIZE_H 256 -struct exemple_data +struct example_data { Ecore_Evas *ee; Evas *evas; @@ -53,7 +53,7 @@ struct exemple_data static const char *img_path = PACKAGE_EXAMPLES_DIR EVAS_IMAGE_FOLDER "/cube1.png"; -static struct exemple_data d = +static struct example_data d = { NULL, NULL, NULL, NULL, NULL, 62, 62, 262, 62, 262, 262, 62, 262, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE }; diff --git a/src/examples/evas/evas-map-aa.c b/src/examples/evas/evas-map-aa.c index a3619f0..634932f 100644 --- a/src/examples/evas/evas-map-aa.c +++ b/src/examples/evas/evas-map-aa.c @@ -25,7 +25,7 @@ #define IMAGE_SIZE_W 256 #define IMAGE_SIZE_H 256 -struct exemple_data +struct example_data { Ecore_Evas *ee; Evas *evas; @@ -45,7 +45,7 @@ struct exemple_data static const char *img_path = PACKAGE_EXAMPLES_DIR EVAS_IMAGE_FOLDER "/cube1.png"; -static struct exemple_data d = +static struct example_data d = { NULL, NULL, NULL, NULL, NULL, 62, 62, 262, 62, 262, 262, 62, 262, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE, EINA_FALSE }; diff --git a/src/examples/evas/evas-transparent.c b/src/examples/evas/evas-transparent.c index 1d4d67d..9ec3eca 100644 --- a/src/examples/evas/evas-transparent.c +++ b/src/examples/evas/evas-transparent.c @@ -46,14 +46,14 @@ static const char *commands = \ "\tm - turn off alpha" "\th - print help\n"; -struct exemple_data +struct example_data { Ecore_Evas *ee; Evas *evas; Evas_Object *bg; }; -static struct exemple_data d; +static struct example_data d; /* Keyboard event callback routine, to enable toggling transparency on * and off. -- 2.7.4