Add G_PARAM_STATIC_STRINGS define (fixes #418021).

* gparam.h:
Add G_PARAM_STATIC_STRINGS define (fixes #418021).

svn path=/trunk/; revision=5402
This commit is contained in:
Stefan Kost 2007-03-14 19:09:33 +00:00
parent add62500f7
commit 399300e5e1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-03-14 Stefan Kost <ensonic@users.sf.net>
* gparam.h:
Add G_PARAM_STATIC_STRINGS define (fixes #418021).
Mon Mar 12 13:30:20 2007 Tim Janik <timj@gtk.org>
* gtype.h: marked purely functional g_type accessors as PURE or CONST,

View File

@ -61,6 +61,7 @@ typedef enum
G_PARAM_STATIC_BLURB = 1 << 7
} GParamFlags;
#define G_PARAM_READWRITE (G_PARAM_READABLE | G_PARAM_WRITABLE)
#define G_PARAM_STATIC_STRINGS (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
#define G_PARAM_MASK (0x000000ff)
/* bits in the range 0xffffff00 are reserved for 3rd party usage */
#define G_PARAM_USER_SHIFT (8)