diff options
author | Ucan, Emre \(ADITG/SW1\) <eucan@de.adit-jv.com> | 2016-03-04 12:50:35 +0000 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-03-04 10:33:34 -0800 |
commit | 4d9001bc49b2ae851d7a7f93b1ce7cec8b0a1121 (patch) | |
tree | c2fe11a8a9da4ade4ba7509a1a982182be0bd602 /ivi-shell | |
parent | 18691f03108ca374babc1d74271a0af33817c6a4 (diff) | |
download | weston-4d9001bc49b2ae851d7a7f93b1ce7cec8b0a1121.tar.gz |
ivi-shell: remove ivi_layout_surface_get_orientation 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')
-rw-r--r-- | ivi-shell/ivi-layout-export.h | 10 | ||||
-rw-r--r-- | ivi-shell/ivi-layout.c | 12 |
2 files changed, 0 insertions, 22 deletions
diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 4b2697cb..21fe96c3 100644 --- a/ivi-shell/ivi-layout-export.h +++ b/ivi-shell/ivi-layout-export.h @@ -339,16 +339,6 @@ struct ivi_layout_interface { enum wl_output_transform orientation); /** - * \brief Gets the orientation of a surface. - * - * \return (enum wl_output_transform) - * if the method call was successful - * \return WL_OUTPUT_TRANSFORM_NORMAL if the method call was failed - */ - enum wl_output_transform - (*surface_get_orientation)(struct ivi_layout_surface *ivisurf); - - /** * \brief Set an observer callback for ivi_surface content status change. * * \return IVI_SUCCEEDED if the method call was successful diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 64e7a2f8..61935cee 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -2132,17 +2132,6 @@ ivi_layout_surface_set_orientation(struct ivi_layout_surface *ivisurf, return IVI_SUCCEEDED; } -static enum wl_output_transform -ivi_layout_surface_get_orientation(struct ivi_layout_surface *ivisurf) -{ - if (ivisurf == NULL) { - weston_log("ivi_layout_surface_get_orientation: invalid argument\n"); - return 0; - } - - return ivisurf->prop.orientation; -} - static int32_t ivi_layout_screen_add_layer(struct ivi_layout_screen *iviscrn, struct ivi_layout_layer *addlayer) @@ -2647,7 +2636,6 @@ static struct ivi_layout_interface ivi_layout_interface = { .surface_set_position = ivi_layout_surface_set_position, .surface_set_dimension = ivi_layout_surface_set_dimension, .surface_set_orientation = ivi_layout_surface_set_orientation, - .surface_get_orientation = ivi_layout_surface_get_orientation, .surface_set_content_observer = ivi_layout_surface_set_content_observer, .surface_add_notification = ivi_layout_surface_add_notification, .surface_remove_notification = ivi_layout_surface_remove_notification, |