1
0
Fork 0

clutter/stage-manager: Mark as private type

Nothing is supposed to interact with it externally

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3962>
This commit is contained in:
Bilal Elmoussaoui 2024-08-20 16:49:36 +02:00 committed by Marge Bot
parent 09c7c2bf7b
commit 914787294f
8 changed files with 20 additions and 60 deletions

View file

@ -20,7 +20,7 @@
#pragma once #pragma once
#include "clutter-backend.h" #include "clutter-backend.h"
#include "clutter-stage-manager.h" #include "clutter-stage-manager-private.h"
#include "clutter-settings.h" #include "clutter-settings.h"
#include "cogl-pango/cogl-pango.h" #include "cogl-pango/cogl-pango.h"

View file

@ -38,7 +38,6 @@
#include "clutter/clutter-private.h" #include "clutter/clutter-private.h"
#include "clutter/clutter-settings-private.h" #include "clutter/clutter-settings-private.h"
#include "clutter/clutter-stage.h" #include "clutter/clutter-stage.h"
#include "clutter/clutter-stage-manager.h"
#include "clutter/clutter-stage-private.h" #include "clutter/clutter-stage-private.h"
#include "clutter/clutter-backend-private.h" #include "clutter/clutter-backend-private.h"

View file

@ -38,7 +38,6 @@
#include "clutter/clutter-layout-manager.h" #include "clutter/clutter-layout-manager.h"
#include "clutter/clutter-pipeline-cache.h" #include "clutter/clutter-pipeline-cache.h"
#include "clutter/clutter-settings.h" #include "clutter/clutter-settings.h"
#include "clutter/clutter-stage-manager.h"
#include "clutter/clutter-stage.h" #include "clutter/clutter-stage.h"
G_BEGIN_DECLS G_BEGIN_DECLS

View file

@ -38,7 +38,7 @@
#include "clutter/clutter-actor.h" #include "clutter/clutter-actor.h"
#include "clutter/clutter-stage-private.h" #include "clutter/clutter-stage-private.h"
#include "clutter/clutter-stage-manager.h" #include "clutter/clutter-stage-manager-private.h"
struct _ClutterStageManagerAccessible { struct _ClutterStageManagerAccessible {
AtkGObjectAccessible parent; AtkGObjectAccessible parent;

View file

@ -24,13 +24,25 @@
#pragma once #pragma once
#include "clutter/clutter-stage-manager.h" #include "clutter/clutter-types.h"
G_BEGIN_DECLS G_BEGIN_DECLS
/* stage manager */ #define CLUTTER_TYPE_STAGE_MANAGER (clutter_stage_manager_get_type ())
G_DECLARE_FINAL_TYPE (ClutterStageManager,
clutter_stage_manager,
CLUTTER,
STAGE_MANAGER,
GObject)
ClutterStageManager * clutter_stage_manager_get_default (void);
const GSList * clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager);
void _clutter_stage_manager_add_stage (ClutterStageManager *stage_manager, void _clutter_stage_manager_add_stage (ClutterStageManager *stage_manager,
ClutterStage *stage); ClutterStage *stage);
void _clutter_stage_manager_remove_stage (ClutterStageManager *stage_manager, void _clutter_stage_manager_remove_stage (ClutterStageManager *stage_manager,
ClutterStage *stage); ClutterStage *stage);

View file

@ -1,48 +0,0 @@
/*
* Clutter.
*
* An OpenGL based 'interactive canvas' library.
*
* Copyright (C) 2008 OpenedHand
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Author: Emmanuele Bassi <ebassi@linux.intel.com>
*/
#pragma once
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
#error "Only <clutter/clutter.h> can be included directly."
#endif
#include "clutter/clutter-types.h"
G_BEGIN_DECLS
#define CLUTTER_TYPE_STAGE_MANAGER (clutter_stage_manager_get_type ())
CLUTTER_EXPORT
G_DECLARE_FINAL_TYPE (ClutterStageManager,
clutter_stage_manager,
CLUTTER,
STAGE_MANAGER,
GObject)
CLUTTER_EXPORT
ClutterStageManager *clutter_stage_manager_get_default (void);
CLUTTER_EXPORT
const GSList * clutter_stage_manager_peek_stages (ClutterStageManager *stage_manager);
G_END_DECLS

View file

@ -92,7 +92,6 @@
#include "clutter/clutter-swipe-action.h" #include "clutter/clutter-swipe-action.h"
#include "clutter/clutter-snap-constraint.h" #include "clutter/clutter-snap-constraint.h"
#include "clutter/clutter-stage.h" #include "clutter/clutter-stage.h"
#include "clutter/clutter-stage-manager.h"
#include "clutter/clutter-stage-view.h" #include "clutter/clutter-stage-view.h"
#include "clutter/clutter-tap-action.h" #include "clutter/clutter-tap-action.h"
#include "clutter/clutter-text.h" #include "clutter/clutter-text.h"

View file

@ -70,7 +70,6 @@ clutter_headers = [
'clutter-swipe-action.h', 'clutter-swipe-action.h',
'clutter-snap-constraint.h', 'clutter-snap-constraint.h',
'clutter-stage.h', 'clutter-stage.h',
'clutter-stage-manager.h',
'clutter-stage-view.h', 'clutter-stage-view.h',
'clutter-tap-action.h', 'clutter-tap-action.h',
'clutter-text.h', 'clutter-text.h',