mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
5cc29888af
* clutter/Makefile.am: * clutter/clutter.h: * clutter/clutter-version.h.in: Auto-generated versioning macros. * clutter/clutter-actor.h: * clutter/clutter-actor.c: Add a ClutterActor::parent-set signal, for notificating changes of an actor's parent; add api-doc for the actor's properties; add the ClutterActor "name" property; clean up a bit some functions; emit the "parent-set" signal when setting te parent and when unparenting; better warnings when lowering and raising an actor. * configure.ac: * clutter/Makefile.am: Add a --enable-debug configure option, with three levels of debugging: no, minimum and yes; default for development releases (odd minor version) is "yes"; update the version m4 defines; update the libtool macros: now just changed the clutter_interface_age when releasing will update everything else.
18 lines
774 B
C
18 lines
774 B
C
#ifndef __CLUTTER_VERSION_H__
|
|
#define __CLUTTER_VERSION_H__
|
|
|
|
#define CLUTTER_MAJOR_VERSION @CLUTTER_MAJOR_VERSION@
|
|
#define CLUTTER_MINOR_VERSION @CLUTTER_MINOR_VERSION@
|
|
#define CLUTTER_MICRO_VERSION @CLUTTER_MICRO_VERSION@
|
|
|
|
#define CLUTTER_VERSION @CLUTTER_VERSION@
|
|
#define CLUTTER_VERSION_S "@CLUTTER_VERSION@"
|
|
#define CLUTTER_VERSION_HEX 0x@CLUTTER_MAJOR_VERSION@0@CLUTTER_MINOR_VERSION@0@CLUTTER_MICRO_VERSION@
|
|
|
|
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
|
|
((CLUTTER_MAJOR_VERSION > (major)) || \
|
|
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
|
|
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) || CLUTTER_MICRO_VERSION > (micro)))
|
|
|
|
#endif /* __CLUTTER_VERSION_H__ */
|