mirror of
https://github.com/brl/mutter.git
synced 2025-08-03 15:14:46 +00:00
Clean up clutter-private.h/3
Move Stage private API to a separate header.
This commit is contained in:
@@ -445,11 +445,7 @@ clutter_backend_x11_dispose (GObject *gobject)
|
||||
CLUTTER_NOTE (BACKEND, "Disposing the of stages");
|
||||
stage_manager = clutter_stage_manager_get_default ();
|
||||
|
||||
/* Destroy all of the stages. g_slist_foreach is used because the
|
||||
finalizer for the stages will remove the stage from the
|
||||
stage_manager's list and g_slist_foreach has some basic
|
||||
protection against this */
|
||||
g_slist_foreach (stage_manager->stages, (GFunc) clutter_actor_destroy, NULL);
|
||||
g_object_unref (stage_manager);
|
||||
|
||||
CLUTTER_NOTE (BACKEND, "Removing the event source");
|
||||
_clutter_backend_x11_events_uninit (CLUTTER_BACKEND (backend_x11));
|
||||
|
@@ -39,6 +39,7 @@
|
||||
#include "clutter-event.h"
|
||||
#include "clutter-main.h"
|
||||
#include "clutter-private.h"
|
||||
#include "clutter-stage-private.h"
|
||||
|
||||
#include "cogl/cogl-internal.h"
|
||||
|
||||
|
@@ -31,16 +31,13 @@
|
||||
#include "clutter-stage-x11.h"
|
||||
#include "clutter-x11.h"
|
||||
|
||||
#include "../clutter-stage-window.h"
|
||||
#include "../clutter-main.h"
|
||||
#include "../clutter-feature.h"
|
||||
#include "../clutter-color.h"
|
||||
#include "../clutter-util.h"
|
||||
#include "../clutter-event.h"
|
||||
#include "../clutter-enum-types.h"
|
||||
#include "../clutter-private.h"
|
||||
#include "../clutter-debug.h"
|
||||
#include "../clutter-units.h"
|
||||
#include "clutter-debug.h"
|
||||
#include "clutter-main.h"
|
||||
#include "clutter-feature.h"
|
||||
#include "clutter-event.h"
|
||||
#include "clutter-enum-types.h"
|
||||
#include "clutter-private.h"
|
||||
#include "clutter-stage-private.h"
|
||||
|
||||
#include "cogl/cogl.h"
|
||||
|
||||
|
Reference in New Issue
Block a user