summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2014-12-03 14:06:11 +0200
committerDaniel Hirt <daniel.hirt@samsung.com>2014-12-03 16:16:25 +0200
commitf18265de39ba41ebf1d057d0e5d413b3004dbef0 (patch)
tree50c22deb389ef12d5fb5f88bff30803676a55a35
parent775755353306a1c8d02b10edf9d579a14125e562 (diff)
downloadefl-f18265de39ba41ebf1d057d0e5d413b3004dbef0.tar.gz
Evas Textblock: ifdef guards (evas_text_utils)
-rw-r--r--src/lib/evas/common/evas_text_utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_text_utils.c b/src/lib/evas/common/evas_text_utils.c
index 3eb6e48721..d2ce61c33e 100644
--- a/src/lib/evas/common/evas_text_utils.c
+++ b/src/lib/evas/common/evas_text_utils.c
@@ -800,6 +800,7 @@ _props_get_font_instance(Evas_Text_Props *text_props, void *_fi)
return fi;
}
+#ifdef OT_SUPPORT
/* don't unref text props. don't recreate stuff. just update */
EAPI Eina_Bool
evas_common_text_props_content_update(void *_fi, const Eina_Unicode *text,
@@ -841,6 +842,8 @@ evas_common_text_props_prepend(void *_fi, const Eina_Unicode *text, Evas_Text_Pr
evas_common_text_props_content_update(_fi, text, text_props, text_pos, len, mode);
return EINA_TRUE;
}
+#endif
+
/**
* @internal
* Returns the numeric value of HEX chars for example for ch = 'A'