summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_panes.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2011-11-17 21:02:31 +0000
committerBoris Faure <billiob@gmail.com>2011-11-17 21:02:31 +0000
commit424c04f7231f9cd45cfa86f6c841b4579fb7f7c4 (patch)
tree037915ef37e95b56d9fdaa0660f1568161bf4693 /src/edje_externals/elm_panes.c
parentfde4f2f98f66c677e9fee44d1915dbc58526c508 (diff)
elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
Diffstat (limited to 'src/edje_externals/elm_panes.c')
-rw-r--r--src/edje_externals/elm_panes.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/edje_externals/elm_panes.c b/src/edje_externals/elm_panes.c
index 15d19eaef..3b963037e 100644
--- a/src/edje_externals/elm_panes.c
+++ b/src/edje_externals/elm_panes.c
@@ -27,10 +27,10 @@ static void external_panes_state_set(void *data __UNUSED__,
27 else return; 27 else return;
28 28
29 if (p->content_left) 29 if (p->content_left)
30 elm_object_content_part_set(obj, "left", p->content_left); 30 elm_object_part_content_set(obj, "left", p->content_left);
31 31
32 if (p->content_right) 32 if (p->content_right)
33 elm_object_content_part_set(obj, "right", p->content_right); 33 elm_object_part_content_set(obj, "right", p->content_right);
34 34
35 if (p->is_left_size) 35 if (p->is_left_size)
36 elm_panes_content_left_size_set(obj, p->left_size); 36 elm_panes_content_left_size_set(obj, p->left_size);
@@ -51,7 +51,7 @@ static Eina_Bool external_panes_param_set(void *data __UNUSED__,
51 Evas_Object *content = external_common_param_edje_object_get(obj, param); 51 Evas_Object *content = external_common_param_edje_object_get(obj, param);
52 if ((strcmp(param->s, "")) && (!content)) 52 if ((strcmp(param->s, "")) && (!content))
53 return EINA_FALSE; 53 return EINA_FALSE;
54 elm_object_content_part_set(obj, "left", content); 54 elm_object_part_content_set(obj, "left", content);
55 return EINA_TRUE; 55 return EINA_TRUE;
56 } 56 }
57 else if ((!strcmp(param->name, "content right")) 57 else if ((!strcmp(param->name, "content right"))
@@ -60,7 +60,7 @@ static Eina_Bool external_panes_param_set(void *data __UNUSED__,
60 Evas_Object *content = external_common_param_edje_object_get(obj, param); 60 Evas_Object *content = external_common_param_edje_object_get(obj, param);
61 if ((strcmp(param->s, "")) && (!content)) 61 if ((strcmp(param->s, "")) && (!content))
62 return EINA_FALSE; 62 return EINA_FALSE;
63 elm_object_content_part_set(obj, "right", content); 63 elm_object_part_content_set(obj, "right", content);
64 return EINA_TRUE; 64 return EINA_TRUE;
65 } 65 }
66 else if ((!strcmp(param->name, "horizontal")) 66 else if ((!strcmp(param->name, "horizontal"))
@@ -170,9 +170,9 @@ external_panes_content_get(void *data __UNUSED__, const Evas_Object *obj,
170 const char *content) 170 const char *content)
171{ 171{
172 if (!strcmp(content, "left")) 172 if (!strcmp(content, "left"))
173 return elm_object_content_part_get(obj, "left"); 173 return elm_object_part_content_get(obj, "left");
174 else if (!strcmp(content, "right")) 174 else if (!strcmp(content, "right"))
175 return elm_object_content_part_get(obj, "right"); 175 return elm_object_part_content_get(obj, "right");
176 176
177 ERR("unknown content '%s'", content); 177 ERR("unknown content '%s'", content);
178 178