summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_check.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2011-10-28 08:57:33 +0000
committerChunEon Park <hermet@hermet.pe.kr>2011-10-28 08:57:33 +0000
commitd346ed60f2a7bdd4d457b6223bb24b0e5ebd5e56 (patch)
treeffc97082ff2656d991d7aa1fdd63bde85a348906 /src/edje_externals/elm_check.c
parent45d9576d2298fce91413065b52847906f7de6bc0 (diff)
elementary/check - content_set/get/unset
SVN revision: 64487
Diffstat (limited to 'src/edje_externals/elm_check.c')
-rw-r--r--src/edje_externals/elm_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edje_externals/elm_check.c b/src/edje_externals/elm_check.c
index 985a39c56..0c3fd0ab4 100644
--- a/src/edje_externals/elm_check.c
+++ b/src/edje_externals/elm_check.c
@@ -21,7 +21,7 @@ external_check_state_set(void *data __UNUSED__, Evas_Object *obj, const void *fr
21 if (p->label) 21 if (p->label)
22 elm_object_text_set(obj, p->label); 22 elm_object_text_set(obj, p->label);
23 if (p->icon) 23 if (p->icon)
24 elm_check_icon_set(obj, p->icon); 24 elm_object_content_set(obj, p->icon);
25 if (p->state_exists) 25 if (p->state_exists)
26 elm_check_state_set(obj, p->state); 26 elm_check_state_set(obj, p->state);
27} 27}
@@ -43,7 +43,7 @@ external_check_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ext
43 { 43 {
44 Evas_Object *icon = external_common_param_icon_get(obj, param); 44 Evas_Object *icon = external_common_param_icon_get(obj, param);
45 if ((strcmp(param->s, "")) && (!icon)) return EINA_FALSE; 45 if ((strcmp(param->s, "")) && (!icon)) return EINA_FALSE;
46 elm_check_icon_set(obj, icon); 46 elm_object_content_set(obj, icon);
47 return EINA_TRUE; 47 return EINA_TRUE;
48 } 48 }
49 } 49 }