From b8006e46fc3400f0363d7e5d9711df5d269e8dd6 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Fri, 11 Nov 2011 15:44:59 +0900 Subject: [PATCH] Remove dead code --- src/lib/elm_radio.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/lib/elm_radio.c b/src/lib/elm_radio.c index 37bc555..6504bd2 100644 --- a/src/lib/elm_radio.c +++ b/src/lib/elm_radio.c @@ -271,27 +271,6 @@ _elm_radio_label_get(const Evas_Object *obj, const char *item) return wd->label; } -static char * -_access_info_cb(void *data __UNUSED__, Evas_Object *obj, Elm_Widget_Item *item __UNUSED__) -{ - const char *txt = elm_widget_access_info_get(obj); - if (!txt) txt = _elm_radio_label_get(obj, NULL); - if (txt) return strdup(txt); - return NULL; -} - -static char * -_access_state_cb(void *data __UNUSED__, Evas_Object *obj, Elm_Widget_Item *item __UNUSED__) -{ - Widget_Data *wd = elm_widget_data_get(obj); - if (!wd) return NULL; - if (elm_widget_disabled_get(obj)) - return strdup(E_("State: Disabled")); - if (wd->state) - return strdup(E_("State: On")); - return strdup(E_("State: Off")); -} - static void _content_set_hook(Evas_Object *obj, const char *part __UNUSED__, Evas_Object *content) { -- 2.7.4