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:
Emmanuele Bassi 2014-12-15 16:51:05 +00:00
parent 9efda7eac7
commit b7c4120399
3 changed files with 9 additions and 9 deletions

View File

@ -63,6 +63,12 @@ GType _clutter_backend_osx_get_type (void) G_GNUC_CONST;
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
#endif /* __CLUTTER_BACKEND_OSX_H__ */

View File

@ -24,6 +24,7 @@
#include "clutter-osx.h"
#include "clutter-backend-osx.h"
#include "clutter-device-manager-osx.h"
#include "clutter-stage-osx.h"

View File

@ -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