mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +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
@ -61,7 +61,13 @@ struct _ClutterBackendOSXClass
|
||||
|
||||
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
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include "clutter-osx.h"
|
||||
|
||||
#include "clutter-backend-osx.h"
|
||||
#include "clutter-device-manager-osx.h"
|
||||
#include "clutter-stage-osx.h"
|
||||
|
||||
|
@ -30,14 +30,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define CLUTTER_OSX_POOL_ALLOC() NSAutoreleasePool *autorelease_pool = [[NSAutoreleasePool alloc] init]
|
||||
#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);
|
||||
|
||||
CLUTTER_AVAILABLE_IN_1_22
|
||||
void clutter_osx_disable_event_retrieval (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user