st: Cleanup ST_PARAM_* and add WRITABLE version

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/646
This commit is contained in:
Niels De Graef 2019-07-27 10:21:12 +02:00 committed by Florian Müllner
parent 5fc456d9d9
commit d360114226

View File

@ -33,13 +33,9 @@ G_BEGIN_DECLS
#define I_(str) (g_intern_static_string ((str))) #define I_(str) (g_intern_static_string ((str)))
#define ST_PARAM_READABLE \ #define ST_PARAM_READABLE (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)
(G_PARAM_READABLE | \ #define ST_PARAM_WRITABLE (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)
G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB) #define ST_PARAM_READWRITE (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)
#define ST_PARAM_READWRITE \
(G_PARAM_READABLE | G_PARAM_WRITABLE | \
G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB)
G_END_DECLS G_END_DECLS