summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/edje_externals/elm_icon.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 20:08:10 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 22:36:41 +0900
commit750cd95d10a930a428fcf93f6687f948fbc31ddf (patch)
tree4aa498827f50be8e41a8a66863d48b6ea2c51e36 /legacy/elementary/src/edje_externals/elm_icon.c
parenta3c5ee407f6ddc60824fe1e6bbc269b2b1c59d7f (diff)
edje_externals: Fixed formatting before working on it.
Diffstat (limited to 'legacy/elementary/src/edje_externals/elm_icon.c')
-rw-r--r--legacy/elementary/src/edje_externals/elm_icon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/elementary/src/edje_externals/elm_icon.c b/legacy/elementary/src/edje_externals/elm_icon.c
index 50ca830..1ac65b5 100644
--- a/legacy/elementary/src/edje_externals/elm_icon.c
+++ b/legacy/elementary/src/edje_externals/elm_icon.c
@@ -97,12 +97,12 @@ external_icon_param_set(void *data EINA_UNUSED, Evas_Object *obj,
97 const char *file; 97 const char *file;
98 98
99 if (!strcmp(param->name, "file") 99 if (!strcmp(param->name, "file")
100 && param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 100 && param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
101 { 101 {
102 Eina_Bool ret = elm_image_file_set(obj, param->s, NULL); 102 Eina_Bool ret = elm_image_file_set(obj, param->s, NULL);
103 if (ret) 103 if (ret)
104 param_icon->file = param->s; 104 param_icon->file = param->s;
105 return ret; 105 return ret;
106 } 106 }
107 else if (!strcmp(param->name, "smooth") 107 else if (!strcmp(param->name, "smooth")
108 && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 108 && param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
@@ -171,7 +171,7 @@ external_icon_param_get(void *data EINA_UNUSED,
171 Edje_External_Param *param) 171 Edje_External_Param *param)
172{ 172{
173 if (!strcmp(param->name, "file") 173 if (!strcmp(param->name, "file")
174 && param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) 174 && param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
175 { 175 {
176 param->s = param_icon->file; 176 param->s = param_icon->file;
177 return EINA_TRUE; 177 return EINA_TRUE;