[gnome-shell/wip/nielsdg/g-param-static-strings: 6/7] st: Cleanup ST_PARAM_* and add WRITABLE version
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/nielsdg/g-param-static-strings: 6/7] st: Cleanup ST_PARAM_* and add WRITABLE version
- Date: Sun, 28 Jul 2019 14:55:10 +0000 (UTC)
commit 62b81d4c50761b6629aa7aeccc651bf45f98ecd3
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sat Jul 27 10:21:12 2019 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]