remove a bunch of unused e_util edje icon functions
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 4 Apr 2014 18:02:02 +0000 (14:02 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Fri, 4 Apr 2014 19:04:28 +0000 (15:04 -0400)
CID 10399481039946

removals: e_util_*edje_icon_list*

src/bin/e_utils.c
src/bin/e_utils.h

index 4f64ace2fc02e70432501ec9838d84890af77ff1..a23cfe67b6d4035bcde8e07f173ac948f6f53dce 100644 (file)
@@ -218,99 +218,6 @@ e_util_immortal_check(void)
    return 0;
 }
 
-EAPI int
-e_util_edje_icon_list_check(const char *list)
-{
-   char *buf;
-   const char *p;
-   const char *c;
-
-   if ((!list) || (!list[0])) return 0;
-   buf = alloca(strlen(list) + 1);
-   p = list;
-   while (p)
-     {
-        c = strchr(p, ',');
-        if (c)
-          {
-             strncpy(buf, p, c - p);
-             buf[c - p] = 0;
-             if (e_util_edje_icon_check(buf)) return 1;
-             p = c + 1;
-             if (!*p) return 0;
-          }
-        else
-          {
-             strcpy(buf, p);
-             if (e_util_edje_icon_check(buf)) return 1;
-             return 0;
-          }
-     }
-   return 0;
-}
-
-EAPI int
-e_util_edje_icon_list_set(Evas_Object *obj, const char *list)
-{
-   char *buf;
-   const char *p;
-   const char *c;
-
-   if ((!list) || (!list[0])) return 0;
-   buf = alloca(strlen(list) + 1);
-   p = list;
-   while (p)
-     {
-        c = strchr(p, ',');
-        if (c)
-          {
-             strncpy(buf, p, c - p);
-             buf[c - p] = 0;
-             if (e_util_edje_icon_set(obj, buf)) return 1;
-             p = c + 1;
-             if (!*p) break;
-          }
-        else
-          {
-             strcpy(buf, p);
-             if (e_util_edje_icon_set(obj, buf)) return 1;
-             break;
-          }
-     }
-   return 0;
-}
-
-EAPI int
-e_util_menu_item_edje_icon_list_set(E_Menu_Item *mi, const char *list)
-{
-   char *buf;
-   const char *p;
-   char *c;
-
-   if ((!list) || (!list[0])) return 0;
-   buf = alloca(strlen(list) + 1);
-   p = list;
-   while (p)
-     {
-        c = strchr(p, ',');
-        if (c)
-          {
-             strncpy(buf, p, c - p);
-             buf[c - p] = 0;
-             if (e_util_menu_item_theme_icon_set(mi, buf)) return 1;
-             p = c + 1;
-             if (!*p) return 0;
-          }
-        else
-          {
-             strcpy(buf, p);
-             if (e_util_menu_item_theme_icon_set(mi, buf)) return 1;
-             return 0;
-          }
-     }
-   return 0;
-}
-
 EAPI int
 e_util_edje_icon_check(const char *name)
 {
index be87c2cf8dc1a06135a184a9342822bc4651cafe..79229a84fd95c443d53f43f4a4e7a110a25d5a05 100644 (file)
@@ -24,9 +24,6 @@ EAPI int          e_util_strcasecmp(const char *s1, const char *s2);
 EAPI int          e_util_strcmp(const char *s1, const char *s2);
 EAPI int          e_util_both_str_empty(const char *s1, const char *s2);
 EAPI int          e_util_immortal_check(void);
-EAPI int          e_util_edje_icon_list_check(const char *list);
-EAPI int          e_util_edje_icon_list_set(Evas_Object *obj, const char *list);
-EAPI int          e_util_menu_item_edje_icon_list_set(E_Menu_Item *mi, const char *list);
 EAPI int          e_util_edje_icon_check(const char *name);
 EAPI int          e_util_edje_icon_set(Evas_Object *obj, const char *name);
 EAPI int          e_util_icon_theme_set(Evas_Object *obj, const char *icon);