From adb53e57459be570c2e6d6f8e490e68ff65c7f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 10 Aug 2023 15:57:15 +0200 Subject: [PATCH] Remove unused _clutter_stage_get_default_window Unused since 28cb0251905d ("clutter: Remove DELETE event, signal and vfunc"). Part-of: --- clutter/clutter/clutter-stage-private.h | 2 -- clutter/clutter/clutter-stage.c | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/clutter/clutter/clutter-stage-private.h b/clutter/clutter/clutter-stage-private.h index ecc69996f..38d02178f 100644 --- a/clutter/clutter/clutter-stage-private.h +++ b/clutter/clutter/clutter-stage-private.h @@ -41,8 +41,6 @@ typedef enum } ClutterDeviceUpdateFlags; /* stage */ -ClutterStageWindow *_clutter_stage_get_default_window (void); - CLUTTER_EXPORT void clutter_stage_paint_view (ClutterStage *stage, ClutterStageView *view, diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index d1fe2ce24..56b58cc26 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -2507,19 +2507,6 @@ _clutter_stage_get_window (ClutterStage *stage) return CLUTTER_STAGE_WINDOW (stage->priv->impl); } -ClutterStageWindow * -_clutter_stage_get_default_window (void) -{ - ClutterStageManager *manager = clutter_stage_manager_get_default (); - ClutterStage *stage; - - stage = clutter_stage_manager_get_default_stage (manager); - if (stage == NULL) - return NULL; - - return _clutter_stage_get_window (stage); -} - /** * clutter_stage_schedule_update: * @stage: a #ClutterStage actor