From f128bb4db1c1317031fc831a332e34f21d31e462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 10 Aug 2023 16:21:13 +0200 Subject: [PATCH] Remove unused _clutter_stage_window_get_wrapper Unused since 89daa8d4fa5b ("wayland: drop wayland backend"). Part-of: --- clutter/clutter/clutter-stage-window.c | 12 ------------ clutter/clutter/clutter-stage-window.h | 4 ---- src/backends/meta-stage-impl.c | 7 ------- 3 files changed, 23 deletions(-) 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;