summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-04-14 20:28:07 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-04-14 20:28:34 -0400
commit8e74d80474b47281dfa59b88b638b227f0da48c6 (patch)
tree0d1e16934dfe88cc56b9a8eee33eb3b81856ac07 /src/lib/elm_toolbar.c
parentd021b7e36d001ecdeb3767bb6a67cc361d0f7ee9 (diff)
toolbar: fix conditional compiler warning in horizontal_set
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 07d12a717..c588e36dd 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -3634,7 +3634,7 @@ EOLIAN static void
3634_elm_toolbar_horizontal_set(Eo *obj, Elm_Toolbar_Data *sd, Eina_Bool horizontal) 3634_elm_toolbar_horizontal_set(Eo *obj, Elm_Toolbar_Data *sd, Eina_Bool horizontal)
3635{ 3635{
3636 horizontal = !!horizontal; 3636 horizontal = !!horizontal;
3637 if (!horizontal == sd->vertical) return; 3637 if (horizontal != sd->vertical) return;
3638 sd->vertical = !horizontal; 3638 sd->vertical = !horizontal;
3639 if (sd->vertical) 3639 if (sd->vertical)
3640 evas_object_box_align_set(sd->bx, 0.5, sd->align); 3640 evas_object_box_align_set(sd->bx, 0.5, sd->align);