summaryrefslogtreecommitdiff
path: root/src/examples/gengrid_example.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-06-25 12:05:33 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-06-25 12:05:43 +0900
commit8972e10feea72d4c07f3e2a3ebfa40251c5ff0a3 (patch)
treea1e0c78683403d19f4e5324f428964de845015a1 /src/examples/gengrid_example.c
parentcb8e59c57a0a8e2c634572135eff7b2e8fe2e5b0 (diff)
examples: fixed warnings.
Diffstat (limited to 'src/examples/gengrid_example.c')
-rw-r--r--src/examples/gengrid_example.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/gengrid_example.c b/src/examples/gengrid_example.c
index 02d3d92a3..f16db9762 100644
--- a/src/examples/gengrid_example.c
+++ b/src/examples/gengrid_example.c
@@ -78,7 +78,7 @@ _bouncing_change(void *data,
78 Evas_Object *grid = data; 78 Evas_Object *grid = data;
79 Eina_Bool bounce = elm_check_state_get(obj); 79 Eina_Bool bounce = elm_check_state_get(obj);
80 80
81 elm_gengrid_bounce_set(grid, bounce, bounce); 81 elm_scroller_bounce_set(grid, bounce, bounce);
82 82
83 fprintf(stdout, "Bouncing effect for gengrid is now %s\n", 83 fprintf(stdout, "Bouncing effect for gengrid is now %s\n",
84 bounce ? "on" : "off"); 84 bounce ? "on" : "off");
@@ -372,7 +372,7 @@ _grid_scroll_stopped_cb(void *data,
372 void *event_info) 372 void *event_info)
373{ 373{
374 int h_pagenumber = 0, v_pagenumber = 0; 374 int h_pagenumber = 0, v_pagenumber = 0;
375 elm_gengrid_current_page_get(obj, &h_pagenumber, &v_pagenumber); 375 elm_scroller_current_page_get(obj, &h_pagenumber, &v_pagenumber);
376 fprintf(stdout, "Grid current horiz page is %d, vert page is %d\n", 376 fprintf(stdout, "Grid current horiz page is %d, vert page is %d\n",
377 h_pagenumber, v_pagenumber); 377 h_pagenumber, v_pagenumber);
378} 378}
@@ -414,7 +414,7 @@ _page_change_cb(void *data,
414{ 414{
415 double val = elm_slider_value_get(obj); 415 double val = elm_slider_value_get(obj);
416 416
417 elm_gengrid_page_relative_set(data, val, val); 417 elm_scroller_page_relative_set(data, val, val);
418 418
419 fprintf(stdout, "Setting grid page's relative size to %f\n", val); 419 fprintf(stdout, "Setting grid page's relative size to %f\n", val);
420} 420}
@@ -536,7 +536,7 @@ elm_main(int argc,
536 evas_object_show(ck); 536 evas_object_show(ck);
537 537
538 ck = elm_check_add(win); 538 ck = elm_check_add(win);
539 elm_gengrid_bounce_get(grid, &bounce, NULL); 539 elm_scroller_bounce_get(grid, &bounce, NULL);
540 elm_object_text_set(ck, "Bouncing"); 540 elm_object_text_set(ck, "Bouncing");
541 elm_check_state_set(ck, bounce); 541 elm_check_state_set(ck, bounce);
542 evas_object_smart_callback_add(ck, "changed", _bouncing_change, grid); 542 evas_object_smart_callback_add(ck, "changed", _bouncing_change, grid);