summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-04 20:07:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-04 20:07:29 +0900
commit310d4cdd2d84613bcbd75ae6c92d5bd01f83f407 (patch)
tree7ebce0a680baad1feebcb9981121644d94954c68
parentbd55004d533ef38cfc125ed25571d45b8aa67484 (diff)
Fix build without Textblock support
-rw-r--r--main.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/main.c b/main.c
index 03aa53d..764eb4b 100644
--- a/main.c
+++ b/main.c
@@ -20,12 +20,18 @@ const char *home = NULL;
20#define _(a) a 20#define _(a) a
21#endif 21#endif
22 22
23#ifndef evas_obj_textblock_filter_object_bind 23#ifndef evas_obj_text_filter_object_bind
24# warning Filter chain not supported! This demo program is useless!!! 24# warning Filter chain not supported!!!
25#else 25#else
26# define HAS_FILTER_CHAIN 26# define HAS_FILTER_CHAIN
27#endif 27#endif
28 28
29#ifndef evas_obj_textblock_filter_object_bind
30# warning Filter chain not supported for textblock...
31#else
32# define HAS_FILTER_CHAIN_TB
33#endif
34
29 35
30#define IMAGE_COUNT 3 36#define IMAGE_COUNT 3
31#define FIXED_SIZED_SOURCE 1 37#define FIXED_SIZED_SOURCE 1
@@ -394,7 +400,7 @@ _markup_update_cb(void *data EINA_UNUSED,
394static void 400static void
395_textblock_proxies_bind(void) 401_textblock_proxies_bind(void)
396{ 402{
397#ifdef HAS_FILTER_CHAIN 403#ifdef HAS_FILTER_CHAIN_TB
398 Eo *tb = elm_entry_textblock_get(textblockview); // UGLY 404 Eo *tb = elm_entry_textblock_get(textblockview); // UGLY
399 for (int k = 0; k < IMAGE_COUNT; k++) 405 for (int k = 0; k < IMAGE_COUNT; k++)
400 { 406 {