The controller plugins use IVI Layout API with weston outputs.
Therefore, this API is not required.

Signed-off-by: Emre Ucan <[email protected]>
---
 ivi-shell/ivi-layout-export.h |   10 ----------
 ivi-shell/ivi-layout.c        |    7 -------
 2 files changed, 17 deletions(-)

diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h
index 4fee978..93eb504 100644
--- a/ivi-shell/ivi-layout-export.h
+++ b/ivi-shell/ivi-layout-export.h
@@ -588,16 +588,6 @@ struct ivi_layout_interface {
                                           const int32_t number);
 
        /**
-        * \brief get weston_output from ivi_layout_screen.
-        *
-        * \return (struct weston_output *)
-        *              if the method call was successful
-        * \return NULL if the method call was failed
-        */
-       struct weston_output *(*screen_get_output)(struct ivi_layout_screen *);
-
-
-       /**
         * transision animation for layer
         */
        void (*transition_move_layer_cancel)(struct ivi_layout_layer *layer);
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index f1ee2db..5d68d4b 100644
--- a/ivi-shell/ivi-layout.c
+++ b/ivi-shell/ivi-layout.c
@@ -2012,12 +2012,6 @@ ivi_layout_screen_set_render_order(struct weston_output 
*output,
        return IVI_SUCCEEDED;
 }
 
-static struct weston_output *
-ivi_layout_screen_get_output(struct ivi_layout_screen *iviscrn)
-{
-       return iviscrn->output;
-}
-
 /**
  * This function is used by the additional ivi-module because of dumping 
ivi_surface sceenshot.
  * The ivi-module, e.g. ivi-controller.so, is in wayland-ivi-extension of 
Genivi's Layer Management.
@@ -2435,7 +2429,6 @@ static struct ivi_layout_interface ivi_layout_interface = 
{
        .get_screens_under_layer        = ivi_layout_get_screens_under_layer,
        .screen_add_layer               = ivi_layout_screen_add_layer,
        .screen_set_render_order        = ivi_layout_screen_set_render_order,
-       .screen_get_output              = ivi_layout_screen_get_output,
 
        /**
         * animation
-- 
1.7.9.5

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to