summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeun Choi <jaeun12.choi@samsung.com>2019-01-23 21:03:34 +0900
committerJaeun Choi <jaeun12.choi@samsung.com>2019-01-25 13:47:37 +0900
commit933bc7f6e11e4966547357885b47379be650fe4a (patch)
treeab166bbdd56904cad92a2b0d731d02dc7f8d10b1
parent86de58676f6a90f1883560e0133ccf1154f31461 (diff)
efl_ui_pager: use '++' instead of '+= 1'
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_pager.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/elementary/efl_ui_pager.c b/src/lib/elementary/efl_ui_pager.c
index e89be99720..4b84ea795e 100644
--- a/src/lib/elementary/efl_ui_pager.c
+++ b/src/lib/elementary/efl_ui_pager.c
@@ -393,8 +393,8 @@ _efl_ui_pager_efl_pack_linear_pack_begin(Eo *obj EINA_UNUSED,
393 393
394 pd->content_list = eina_list_prepend(pd->content_list, subobj); 394 pd->content_list = eina_list_prepend(pd->content_list, subobj);
395 395
396 pd->cnt += 1; 396 pd->cnt++;
397 pd->curr.page += 1; 397 pd->curr.page++;
398 398
399 if (pd->transition) 399 if (pd->transition)
400 efl_page_transition_update(pd->transition, pd->curr.pos); 400 efl_page_transition_update(pd->transition, pd->curr.pos);
@@ -423,7 +423,7 @@ _efl_ui_pager_efl_pack_linear_pack_end(Eo *obj EINA_UNUSED,
423 423
424 pd->content_list = eina_list_append(pd->content_list, subobj); 424 pd->content_list = eina_list_append(pd->content_list, subobj);
425 425
426 pd->cnt += 1; 426 pd->cnt++;
427 427
428 if (pd->transition) 428 if (pd->transition)
429 efl_page_transition_update(pd->transition, pd->curr.pos); 429 efl_page_transition_update(pd->transition, pd->curr.pos);
@@ -456,8 +456,8 @@ _efl_ui_pager_efl_pack_linear_pack_before(Eo *obj EINA_UNUSED,
456 456
457 pd->content_list = eina_list_prepend_relative(pd->content_list, subobj, existing); 457 pd->content_list = eina_list_prepend_relative(pd->content_list, subobj, existing);
458 458
459 pd->cnt += 1; 459 pd->cnt++;
460 if (pd->curr.page >= index) pd->curr.page += 1; 460 if (pd->curr.page >= index) pd->curr.page++;
461 461
462 if (pd->transition) 462 if (pd->transition)
463 efl_page_transition_update(pd->transition, pd->curr.pos); 463 efl_page_transition_update(pd->transition, pd->curr.pos);
@@ -485,8 +485,8 @@ _efl_ui_pager_efl_pack_linear_pack_after(Eo *obj EINA_UNUSED,
485 485
486 pd->content_list = eina_list_append_relative(pd->content_list, subobj, existing); 486 pd->content_list = eina_list_append_relative(pd->content_list, subobj, existing);
487 487
488 pd->cnt += 1; 488 pd->cnt++;
489 if (pd->curr.page > index) pd->curr.page += 1; 489 if (pd->curr.page > index) pd->curr.page++;
490 490
491 if (pd->transition) 491 if (pd->transition)
492 efl_page_transition_update(pd->transition, pd->curr.pos); 492 efl_page_transition_update(pd->transition, pd->curr.pos);
@@ -514,8 +514,8 @@ _efl_ui_pager_efl_pack_linear_pack_at(Eo *obj EINA_UNUSED,
514 existing = eina_list_nth(pd->content_list, index); 514 existing = eina_list_nth(pd->content_list, index);
515 pd->content_list = eina_list_prepend_relative(pd->content_list, subobj, existing); 515 pd->content_list = eina_list_prepend_relative(pd->content_list, subobj, existing);
516 516
517 pd->cnt += 1; 517 pd->cnt++;
518 if (pd->curr.page >= index) pd->curr.page += 1; 518 if (pd->curr.page >= index) pd->curr.page++;
519 519
520 if (pd->transition) 520 if (pd->transition)
521 efl_page_transition_update(pd->transition, pd->curr.pos); 521 efl_page_transition_update(pd->transition, pd->curr.pos);