diff --git a/clutter/clutter/clutter-stage-window.c b/clutter/clutter/clutter-stage-window.c index ffeacaadc..aa1e6ad80 100644 --- a/clutter/clutter/clutter-stage-window.c +++ b/clutter/clutter/clutter-stage-window.c @@ -23,18 +23,6 @@ clutter_stage_window_default_init (ClutterStageWindowInterface *iface) { } -/** - * _clutter_stage_window_get_wrapper: - * @window: a #ClutterStageWindow object - * - * Returns the pointer to the #ClutterStage it's part of. - */ -ClutterActor * -_clutter_stage_window_get_wrapper (ClutterStageWindow *window) -{ - return CLUTTER_STAGE_WINDOW_GET_IFACE (window)->get_wrapper (window); -} - void _clutter_stage_window_set_title (ClutterStageWindow *window, const gchar *title) diff --git a/clutter/clutter/clutter-stage-window.h b/clutter/clutter/clutter-stage-window.h index 931383493..506f8aa73 100644 --- a/clutter/clutter/clutter-stage-window.h +++ b/clutter/clutter/clutter-stage-window.h @@ -23,8 +23,6 @@ struct _ClutterStageWindowInterface /*< private >*/ GTypeInterface parent_iface; - ClutterActor *(* get_wrapper) (ClutterStageWindow *stage_window); - void (* set_title) (ClutterStageWindow *stage_window, const gchar *title); @@ -57,8 +55,6 @@ struct _ClutterStageWindowInterface ClutterFrame *frame); }; -ClutterActor * _clutter_stage_window_get_wrapper (ClutterStageWindow *window); - void _clutter_stage_window_set_title (ClutterStageWindow *window, const gchar *title); void _clutter_stage_window_set_cursor_visible (ClutterStageWindow *window, diff --git a/src/backends/meta-stage-impl.c b/src/backends/meta-stage-impl.c index c35cb36e3..0101affce 100644 --- a/src/backends/meta-stage-impl.c +++ b/src/backends/meta-stage-impl.c @@ -105,12 +105,6 @@ meta_stage_impl_get_frame_counter (ClutterStageWindow *stage_window) return priv->global_frame_counter; } -static ClutterActor * -meta_stage_impl_get_wrapper (ClutterStageWindow *stage_window) -{ - return CLUTTER_ACTOR (META_STAGE_IMPL (stage_window)->wrapper); -} - static void meta_stage_impl_show (ClutterStageWindow *stage_window, gboolean do_raise) @@ -815,7 +809,6 @@ clutter_stage_window_iface_init (ClutterStageWindowInterface *iface) { iface->realize = meta_stage_impl_realize; iface->unrealize = meta_stage_impl_unrealize; - iface->get_wrapper = meta_stage_impl_get_wrapper; iface->resize = meta_stage_impl_resize; iface->show = meta_stage_impl_show; iface->hide = meta_stage_impl_hide;