Move ClutterEffect private symbols to a private header

No point in cluttering up clutter-private.h even more than necessary.
This commit is contained in:
Emmanuele Bassi 2011-02-18 16:00:39 +00:00
parent 3addeb91cc
commit d27b335b61
5 changed files with 18 additions and 6 deletions

View File

@ -232,6 +232,7 @@ source_h_priv = \
$(srcdir)/clutter-bezier.h \
$(srcdir)/clutter-debug.h \
$(srcdir)/clutter-device-manager-private.h \
$(srcdir)/clutter-effect-private.h \
$(srcdir)/clutter-event-translator.h \
$(srcdir)/clutter-id-pool.h \
$(srcdir)/clutter-keysyms-table.h \

View File

@ -295,7 +295,7 @@
#include "clutter-constraint.h"
#include "clutter-container.h"
#include "clutter-debug.h"
#include "clutter-effect.h"
#include "clutter-effect-private.h"
#include "clutter-enum-types.h"
#include "clutter-main.h"
#include "clutter-marshal.h"

View File

@ -0,0 +1,15 @@
#ifndef __CLUTTER_EFFECT_PRIVATE_H__
#define __CLUTTER_EFFECT_PRIVATE_H__
#include <clutter/clutter-effect.h>
G_BEGIN_DECLS
gboolean _clutter_effect_pre_paint (ClutterEffect *effect);
void _clutter_effect_post_paint (ClutterEffect *effect);
gboolean _clutter_effect_get_paint_volume (ClutterEffect *effect,
ClutterPaintVolume *volume);
G_END_DECLS
#endif /* __CLUTTER_EFFECT_PRIVATE_H__ */

View File

@ -172,6 +172,7 @@
#include "clutter-actor-meta-private.h"
#include "clutter-debug.h"
#include "clutter-effect-private.h"
#include "clutter-enum-types.h"
#include "clutter-marshal.h"
#include "clutter-private.h"

View File

@ -226,11 +226,6 @@ gboolean _clutter_boolean_handled_accumulator (GSignalInvocationHint *ihint,
void _clutter_run_repaint_functions (void);
gboolean _clutter_effect_pre_paint (ClutterEffect *effect);
void _clutter_effect_post_paint (ClutterEffect *effect);
gboolean _clutter_effect_get_paint_volume (ClutterEffect *effect,
ClutterPaintVolume *volume);
void _clutter_constraint_update_allocation (ClutterConstraint *constraint,
ClutterActor *actor,
ClutterActorBox *allocation);