elm_object_item: add a convenient macro api.
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 29 Sep 2014 10:00:09 +0000 (19:00 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 29 Sep 2014 10:00:09 +0000 (19:00 +0900)
elm_object_item_translatable_set().

src/lib/elm_object_item.h

index 6a46712d5a913bad0c5abd6049e8b2020b8205b1..6e4f55011b375a5e1ce4969407a1f15bbded0800 100644 (file)
@@ -200,6 +200,8 @@ EAPI void elm_object_item_domain_part_text_translatable_set(Elm_Object_Item *it,
 
 #define elm_object_item_domain_text_translatable_set(it, domain, translatable) elm_object_item_domain_part_text_translatable_set((it), NULL, (domain), (translatable))
 
+#define elm_object_item_text_translatable_set(it, translatable) elm_object_item_domain_part_text_translatable_set((it), NULL, NULL, (translatable))
+
 /**
  * Set the text to read out when in accessibility mode
  *