From aca0647b6cfbf383ef04784601ee6ca3488f2f15 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Tue, 12 Feb 2013 07:08:48 +0000 Subject: [PATCH] elementary/genlist - move the "language,changed" string into the Evas_Smart_Cb_Description SVN revision: 83842 --- src/lib/elm_genlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 12a8274..1e92033 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -74,6 +74,7 @@ static const char SIG_INDEX_UPDATE[] = "index,update"; static const char SIG_TREE_EFFECT_FINISHED [] = "tree,effect,finished"; static const char SIG_HIGHLIGHTED[] = "highlighted"; static const char SIG_UNHIGHLIGHTED[] = "unhighlighted"; +static const char SIG_LANG_CHANGED[] = "language,changed"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CLICKED_DOUBLE, ""}, @@ -2664,7 +2665,7 @@ static void _elm_genlist_smart_translate(Eo *obj, void *_pd EINA_UNUSED, va_list *list) { Eina_Bool *ret = va_arg(*list, Eina_Bool *); - evas_object_smart_callback_call(obj, "language,changed", NULL); + evas_object_smart_callback_call(obj, SIG_LANG_CHANGED, NULL); if (ret) *ret = EINA_TRUE; } -- 2.7.4