summaryrefslogtreecommitdiff
path: root/doc/widgets
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2011-11-16 20:17:25 +0000
committerBoris Faure <billiob@gmail.com>2011-11-16 20:17:25 +0000
commitc43f270ab1a400d55dc1ba339a908a1fb34b33a8 (patch)
treee7f151c27858f96c8f94fb1b64c7ad9bd2f0bb71 /doc/widgets
parentd647d2d1a5e061d9dc327539fc3339088249b1a0 (diff)
elm: elm_object_text_part_set/get() is deprecated
use elm_object_part_text_set/get(). This change is done so that it matches edje_object_part_text_set/get(). SVN revision: 65310
Diffstat (limited to 'doc/widgets')
-rw-r--r--doc/widgets/widget_preview_actionslider.c6
-rw-r--r--doc/widgets/widget_preview_layout.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/widgets/widget_preview_actionslider.c b/doc/widgets/widget_preview_actionslider.c
index 0540a1bf5..14672f66d 100644
--- a/doc/widgets/widget_preview_actionslider.c
+++ b/doc/widgets/widget_preview_actionslider.c
@@ -5,9 +5,9 @@ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
5elm_win_resize_object_add(win, o); 5elm_win_resize_object_add(win, o);
6evas_object_show(o); 6evas_object_show(o);
7 7
8elm_object_text_part_set(o, "left", "left"); 8elm_object_part_text_set(o, "left", "left");
9elm_object_text_part_set(o, "center", "center"); 9elm_object_part_text_set(o, "center", "center");
10elm_object_text_part_set(o, "right", "right"); 10elm_object_part_text_set(o, "right", "right");
11elm_actionslider_indicator_pos_set(o, ELM_ACTIONSLIDER_CENTER); 11elm_actionslider_indicator_pos_set(o, ELM_ACTIONSLIDER_CENTER);
12 12
13#include "widget_preview_tmpl_foot.c" 13#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widgets/widget_preview_layout.c b/doc/widgets/widget_preview_layout.c
index 4c2d87ab9..570c6550e 100644
--- a/doc/widgets/widget_preview_layout.c
+++ b/doc/widgets/widget_preview_layout.c
@@ -14,6 +14,6 @@ evas_object_size_hint_min_set(icon, 200, 140);
14evas_object_show(icon); 14evas_object_show(icon);
15 15
16elm_object_content_part_set(layout, "elm.swallow.content", icon); 16elm_object_content_part_set(layout, "elm.swallow.content", icon);
17elm_object_text_part_set(layout, "elm.text.title", "Layout"); 17elm_object_part_text_set(layout, "elm.text.title", "Layout");
18 18
19#include "widget_preview_tmpl_foot.c" 19#include "widget_preview_tmpl_foot.c"