diff --git a/clutter/clutter/clutter-stage-view-private.h b/clutter/clutter/clutter-stage-view-private.h index 2cdcde12b..02eb22b68 100644 --- a/clutter/clutter/clutter-stage-view-private.h +++ b/clutter/clutter/clutter-stage-view-private.h @@ -65,6 +65,4 @@ void clutter_stage_view_transform_rect_to_onscreen (ClutterStageView float clutter_stage_view_get_refresh_rate (ClutterStageView *view); -ClutterFrameClock * clutter_stage_view_get_frame_clock (ClutterStageView *view); - #endif /* __CLUTTER_STAGE_VIEW_PRIVATE_H__ */ diff --git a/clutter/clutter/clutter-stage-view.c b/clutter/clutter/clutter-stage-view.c index caf167782..b5b04c518 100644 --- a/clutter/clutter/clutter-stage-view.c +++ b/clutter/clutter/clutter-stage-view.c @@ -1010,6 +1010,9 @@ clutter_stage_view_get_refresh_rate (ClutterStageView *view) return priv->refresh_rate; } +/** + * clutter_stage_view_get_frame_clock: (skip) + */ ClutterFrameClock * clutter_stage_view_get_frame_clock (ClutterStageView *view) { diff --git a/clutter/clutter/clutter-stage-view.h b/clutter/clutter/clutter-stage-view.h index eb0184e9a..ff1963c5d 100644 --- a/clutter/clutter/clutter-stage-view.h +++ b/clutter/clutter/clutter-stage-view.h @@ -27,6 +27,7 @@ #include #include "clutter-macros.h" +#include "clutter-frame-clock.h" #define CLUTTER_TYPE_STAGE_VIEW (clutter_stage_view_get_type ()) CLUTTER_EXPORT @@ -69,4 +70,7 @@ CLUTTER_EXPORT void clutter_stage_view_get_offscreen_transformation_matrix (ClutterStageView *view, CoglMatrix *matrix); +CLUTTER_EXPORT +ClutterFrameClock * clutter_stage_view_get_frame_clock (ClutterStageView *view); + #endif /* __CLUTTER_STAGE_VIEW_H__ */