mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
clutter: Include clutter-frame-clock.h from clutter.h
So that it can be used by libmutter and gnome-shell. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
This commit is contained in:
parent
847e89d31f
commit
1de436684c
@ -18,11 +18,15 @@
|
||||
#ifndef CLUTTER_FRAME_CLOCK_H
|
||||
#define CLUTTER_FRAME_CLOCK_H
|
||||
|
||||
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
||||
#error "Only <clutter/clutter.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib-object.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "clutter/clutter.h"
|
||||
#include "clutter/clutter-types.h"
|
||||
|
||||
typedef enum _ClutterFrameResult
|
||||
{
|
||||
|
@ -63,6 +63,7 @@
|
||||
#include "clutter-feature.h"
|
||||
#include "clutter-fixed-layout.h"
|
||||
#include "clutter-flow-layout.h"
|
||||
#include "clutter-frame-clock.h"
|
||||
#include "clutter-gesture-action.h"
|
||||
#include "clutter-grid-layout.h"
|
||||
#include "clutter-image.h"
|
||||
|
@ -36,6 +36,7 @@ clutter_headers = [
|
||||
'clutter-feature.h',
|
||||
'clutter-fixed-layout.h',
|
||||
'clutter-flow-layout.h',
|
||||
'clutter-frame-clock.h',
|
||||
'clutter-gesture-action.h',
|
||||
'clutter-grid-layout.h',
|
||||
'clutter-image.h',
|
||||
@ -192,7 +193,6 @@ clutter_private_headers = [
|
||||
'clutter-effect-private.h',
|
||||
'clutter-event-private.h',
|
||||
'clutter-flatten-effect.h',
|
||||
'clutter-frame-clock.h',
|
||||
'clutter-graphene.h',
|
||||
'clutter-gesture-action-private.h',
|
||||
'clutter-id-pool.h',
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "clutter-frame-clock.h"
|
||||
#include "clutter/clutter.h"
|
||||
#include "tests/clutter-test-utils.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "clutter/clutter-frame-clock.h"
|
||||
#include "clutter/clutter.h"
|
||||
#include "tests/clutter-test-utils.h"
|
||||
|
||||
static const float refresh_rate = 60.0;
|
||||
|
Loading…
Reference in New Issue
Block a user