diff options
author | Ucan, Emre \(ADITG/SW1\) <eucan@de.adit-jv.com> | 2016-03-04 12:50:24 +0000 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-03-04 10:33:34 -0800 |
commit | dfc2d76432fd0b84168903c77afa7f7f2cc68a1d (patch) | |
tree | 05e51a3c59dcd9a6f2c5a2b99e25a06bbe9bb425 /ivi-shell/ivi-layout.c | |
parent | b2ff255792a4208b7f864421f5635bc2e281f544 (diff) | |
download | weston-dfc2d76432fd0b84168903c77afa7f7f2cc68a1d.tar.gz |
ivi-shell: remove ivi_layout_layer_get_position API
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Acked-by: wataru_natsume <wataru_natsume@xddp.denso.co.jp>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'ivi-shell/ivi-layout.c')
-rw-r--r-- | ivi-shell/ivi-layout.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index c6ae09f0..563b486f 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -1907,21 +1907,6 @@ ivi_layout_layer_set_dimension(struct ivi_layout_layer *ivilayer, } int32_t -ivi_layout_layer_get_position(struct ivi_layout_layer *ivilayer, - int32_t *dest_x, int32_t *dest_y) -{ - if (ivilayer == NULL || dest_x == NULL || dest_y == NULL) { - weston_log("ivi_layout_layer_get_position: invalid argument\n"); - return IVI_FAILED; - } - - *dest_x = ivilayer->prop.dest_x; - *dest_y = ivilayer->prop.dest_y; - - return IVI_SUCCEEDED; -} - -int32_t ivi_layout_layer_set_position(struct ivi_layout_layer *ivilayer, int32_t dest_x, int32_t dest_y) { @@ -2721,7 +2706,6 @@ static struct ivi_layout_interface ivi_layout_interface = { .layer_set_source_rectangle = ivi_layout_layer_set_source_rectangle, .layer_set_destination_rectangle = ivi_layout_layer_set_destination_rectangle, .layer_set_position = ivi_layout_layer_set_position, - .layer_get_position = ivi_layout_layer_get_position, .layer_set_dimension = ivi_layout_layer_set_dimension, .layer_get_dimension = ivi_layout_layer_get_dimension, .layer_set_orientation = ivi_layout_layer_set_orientation, |