summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm.c
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2009-12-09 04:37:48 +0000
committerIván Briano <sachieru@gmail.com>2009-12-09 04:37:48 +0000
commit4ab68b5662e9628417a9f2d7b48337276b7c0106 (patch)
tree3f0eb294971c2076c0eec721869271d9aa8bde12 /src/edje_externals/elm.c
parentdd89cec2e83ade2e797dc56ee1e4fbe7b2f9bafb (diff)
style, better parsing, some parameter names changed
SVN revision: 44302
Diffstat (limited to '')
-rw-r--r--src/edje_externals/elm.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index ac19059fc..2477d1ad6 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -23,8 +23,8 @@ external_common_params_parse_internal(size_t params_size, void *data, Evas_Objec
23 23
24 EINA_LIST_FOREACH(params, l, param) 24 EINA_LIST_FOREACH(params, l, param)
25 { 25 {
26 if (!strcmp(param->name, "label")) 26 if (!strcmp(param->name, "label"))
27 p->label = param->s; 27 p->label = param->s;
28 } 28 }
29 return p; 29 return p;
30} 30}
@@ -37,13 +37,13 @@ external_common_icon_param_parse(Evas_Object **icon, Evas_Object *obj, const Ein
37 p = edje_external_param_find(params, "icon"); 37 p = edje_external_param_find(params, "icon");
38 if (p) 38 if (p)
39 { 39 {
40 Evas_Object *parent = evas_object_smart_parent_get(obj); 40 Evas_Object *parent = evas_object_smart_parent_get(obj);
41 const char *file; 41 const char *file;
42 edje_object_file_get(parent, &file, NULL); 42 edje_object_file_get(parent, &file, NULL);
43 *icon = elm_icon_add(parent); 43 *icon = elm_icon_add(parent);
44 44
45 if (!elm_icon_file_set(*icon, file, p->s)) 45 if (!elm_icon_file_set(*icon, file, p->s))
46 elm_icon_standard_set(*icon, p->s); 46 elm_icon_standard_set(*icon, p->s);
47 } 47 }
48} 48}
49 49