Hi,
Due to some legacy applications use elm_entry_magnifier_disabled_set(),
add the fake function in order to be backward-compatible.
From f7c29dccda83c64f76727f983d4c2a1138b71e8f Mon Sep 17 00:00:00 2001
From: Alex Wu <zhiwen...@linux.intel.com>
Date: Fri, 31 Aug 2012 10:28:48 +0800
Subject: [PATCH] elm_entry: Add backward-compatible for
 elm_entry_magnifier_disabled_set

Due to some legacy applications use elm_entry_magnifier_disabled_set(),
add the fake function in order to be backward-compatible.
---
 trunk/elementary/src/lib/elm_entry.c |    5 +++++
 trunk/elementary/src/lib/elm_entry.h |    9 +++++++++
 2 files changed, 14 insertions(+)

diff --git a/trunk/elementary/src/lib/elm_entry.c 
b/trunk/elementary/src/lib/elm_entry.c
index a6d1fa9..c474b67 100644
--- a/trunk/elementary/src/lib/elm_entry.c
+++ b/trunk/elementary/src/lib/elm_entry.c
@@ -4001,6 +4001,11 @@ elm_entry_anchor_hover_end(Evas_Object *obj)
    wd->anchor_hover.pop = NULL;
 }
 
+EAPI void
+elm_entry_magnifier_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+{
+   /* Do nothing, just for backward-compatible. */
+}
 
 static void
 _anchor_hover_clicked(void *data, Evas_Object *obj __UNUSED__, void 
*event_info __UNUSED__)
diff --git a/trunk/elementary/src/lib/elm_entry.h 
b/trunk/elementary/src/lib/elm_entry.h
index 4ace8a1..75f1be2 100644
--- a/trunk/elementary/src/lib/elm_entry.h
+++ b/trunk/elementary/src/lib/elm_entry.h
@@ -1773,5 +1773,14 @@ EAPI const char                 
*elm_entry_anchor_hover_style_get(const Evas_Obj
 EAPI void                        elm_entry_anchor_hover_end(Evas_Object *obj);
 
 /**
+ * Do nothing, just for backward-compatible. 
+ *
+ * @param obj The entry object
+ * @param disabled If true, the magnifier is not displayed
+ */
+
+EAPI void                        elm_entry_magnifier_disabled_set(Evas_Object 
*obj, Eina_Bool disabled);
+
+/**
  * @}
  */
-- 
1.7.9.5

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to