Remove unused _clutter_stage_window_get_wrapper

Unused since 89daa8d4fa ("wayland: drop wayland backend").

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
Michel Dänzer 2023-08-10 16:21:13 +02:00 committed by Marge Bot
parent adb53e5745
commit f128bb4db1
3 changed files with 0 additions and 23 deletions

View File

@ -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 void
_clutter_stage_window_set_title (ClutterStageWindow *window, _clutter_stage_window_set_title (ClutterStageWindow *window,
const gchar *title) const gchar *title)

View File

@ -23,8 +23,6 @@ struct _ClutterStageWindowInterface
/*< private >*/ /*< private >*/
GTypeInterface parent_iface; GTypeInterface parent_iface;
ClutterActor *(* get_wrapper) (ClutterStageWindow *stage_window);
void (* set_title) (ClutterStageWindow *stage_window, void (* set_title) (ClutterStageWindow *stage_window,
const gchar *title); const gchar *title);
@ -57,8 +55,6 @@ struct _ClutterStageWindowInterface
ClutterFrame *frame); ClutterFrame *frame);
}; };
ClutterActor * _clutter_stage_window_get_wrapper (ClutterStageWindow *window);
void _clutter_stage_window_set_title (ClutterStageWindow *window, void _clutter_stage_window_set_title (ClutterStageWindow *window,
const gchar *title); const gchar *title);
void _clutter_stage_window_set_cursor_visible (ClutterStageWindow *window, void _clutter_stage_window_set_cursor_visible (ClutterStageWindow *window,

View File

@ -105,12 +105,6 @@ meta_stage_impl_get_frame_counter (ClutterStageWindow *stage_window)
return priv->global_frame_counter; 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 static void
meta_stage_impl_show (ClutterStageWindow *stage_window, meta_stage_impl_show (ClutterStageWindow *stage_window,
gboolean do_raise) gboolean do_raise)
@ -815,7 +809,6 @@ clutter_stage_window_iface_init (ClutterStageWindowInterface *iface)
{ {
iface->realize = meta_stage_impl_realize; iface->realize = meta_stage_impl_realize;
iface->unrealize = meta_stage_impl_unrealize; iface->unrealize = meta_stage_impl_unrealize;
iface->get_wrapper = meta_stage_impl_get_wrapper;
iface->resize = meta_stage_impl_resize; iface->resize = meta_stage_impl_resize;
iface->show = meta_stage_impl_show; iface->show = meta_stage_impl_show;
iface->hide = meta_stage_impl_hide; iface->hide = meta_stage_impl_hide;