mirror of
https://github.com/brl/mutter.git
synced 2024-12-22 19:12:04 +00:00
clutter/actor: Make frame clock picking semi private API
Let's not expose that outside of mutter quite yet; it's not used in gnome-shell, and to avoid future breakage if it starts to be used, lets move it to clutter-mutter.h so only mutter and clutter itself can use it. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1404
This commit is contained in:
parent
fb0f03640a
commit
9bcb03ab48
@ -16354,7 +16354,7 @@ clutter_actor_is_effectively_on_stage_view (ClutterActor *self,
|
||||
}
|
||||
|
||||
/**
|
||||
* clutter_actor_pick_frame_clock:
|
||||
* clutter_actor_pick_frame_clock: (skip)
|
||||
* @self: a #ClutterActor
|
||||
*
|
||||
* Pick the most suitable frame clock for driving animations for this actor.
|
||||
|
@ -935,9 +935,6 @@ GList * clutter_actor_peek_stage_views (ClutterActor *self);
|
||||
CLUTTER_EXPORT
|
||||
void clutter_actor_invalidate_transform (ClutterActor *self);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
ClutterFrameClock * clutter_actor_pick_frame_clock (ClutterActor *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CLUTTER_ACTOR_H__ */
|
||||
|
@ -68,6 +68,9 @@ gboolean clutter_actor_has_damage (ClutterActor *actor);
|
||||
CLUTTER_EXPORT
|
||||
gboolean clutter_actor_has_transitions (ClutterActor *actor);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
ClutterFrameClock * clutter_actor_pick_frame_clock (ClutterActor *self);
|
||||
|
||||
#undef __CLUTTER_H_INSIDE__
|
||||
|
||||
#endif /* __CLUTTER_MUTTER_H__ */
|
||||
|
@ -103,6 +103,7 @@
|
||||
#include "clutter-frame-clock.h"
|
||||
#include "clutter-main.h"
|
||||
#include "clutter-marshal.h"
|
||||
#include "clutter-mutter.h"
|
||||
#include "clutter-private.h"
|
||||
#include "clutter-scriptable.h"
|
||||
#include "clutter-timeline-private.h"
|
||||
|
Loading…
Reference in New Issue
Block a user