[access] reset access info callback function, if access info data is set only
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 1 Apr 2013 12:20:10 +0000 (21:20 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 3 Apr 2013 12:07:50 +0000 (21:07 +0900)
Change-Id: Ic7fb0d2bdf97dd1c2bf71420cb91e4ff3d304fbc

src/lib/elm_access.c

index abd5ab8..6cf2d32 100644 (file)
@@ -650,6 +650,7 @@ _elm_access_text_set(Elm_Access_Info *ac, int type, const char *text)
 {
    Elm_Access_Item *ai = _access_add_set(ac, type);
    if (!ai) return;
+   ai->func = NULL;
    ai->data = eina_stringshare_add(text);
 }