From d3601142268582659e97e058e13d66ca3a4145cc Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Sat, 27 Jul 2019 10:21:12 +0200 Subject: [PATCH] st: Cleanup ST_PARAM_* and add WRITABLE version https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/646 --- src/st/st-private.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/st/st-private.h b/src/st/st-private.h index 0f3cb2f2c..3f1fd1295 100644 --- a/src/st/st-private.h +++ b/src/st/st-private.h @@ -33,13 +33,9 @@ G_BEGIN_DECLS #define I_(str) (g_intern_static_string ((str))) -#define ST_PARAM_READABLE \ - (G_PARAM_READABLE | \ - G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB) - -#define ST_PARAM_READWRITE \ - (G_PARAM_READABLE | G_PARAM_WRITABLE | \ - G_PARAM_STATIC_NICK | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB) +#define ST_PARAM_READABLE (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS) +#define ST_PARAM_WRITABLE (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS) +#define ST_PARAM_READWRITE (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS) G_END_DECLS