mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
osx: Clean up installed clutter-osx.h header
The installed header should not have private API declarations and macros. Let's move those into the uninstalled clutter-backend-osx.h header file instead.
This commit is contained in:
parent
9efda7eac7
commit
b7c4120399
@ -63,6 +63,12 @@ GType _clutter_backend_osx_get_type (void) G_GNUC_CONST;
|
|||||||
|
|
||||||
void _clutter_backend_osx_events_init (ClutterBackend *backend);
|
void _clutter_backend_osx_events_init (ClutterBackend *backend);
|
||||||
|
|
||||||
|
#define CLUTTER_OSX_POOL_ALLOC() NSAutoreleasePool *autorelease_pool = [[NSAutoreleasePool alloc] init]
|
||||||
|
#define CLUTTER_OSX_POOL_RELEASE() [autorelease_pool release];
|
||||||
|
|
||||||
|
void _clutter_event_osx_put (NSEvent *nsevent,
|
||||||
|
ClutterStage *wrapper);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __CLUTTER_BACKEND_OSX_H__ */
|
#endif /* __CLUTTER_BACKEND_OSX_H__ */
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include "clutter-osx.h"
|
#include "clutter-osx.h"
|
||||||
|
|
||||||
|
#include "clutter-backend-osx.h"
|
||||||
#include "clutter-device-manager-osx.h"
|
#include "clutter-device-manager-osx.h"
|
||||||
#include "clutter-stage-osx.h"
|
#include "clutter-stage-osx.h"
|
||||||
|
|
||||||
|
@ -30,14 +30,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define CLUTTER_OSX_POOL_ALLOC() NSAutoreleasePool *autorelease_pool = [[NSAutoreleasePool alloc] init]
|
CLUTTER_AVAILABLE_IN_1_22
|
||||||
#define CLUTTER_OSX_POOL_RELEASE() [autorelease_pool release];
|
|
||||||
|
|
||||||
void _clutter_events_osx_init (void);
|
|
||||||
void _clutter_events_osx_uninit (void);
|
|
||||||
|
|
||||||
void _clutter_event_osx_put (NSEvent *nsevent, ClutterStage *wrapper);
|
|
||||||
|
|
||||||
void clutter_osx_disable_event_retrieval (void);
|
void clutter_osx_disable_event_retrieval (void);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
Loading…
Reference in New Issue
Block a user