[epiphany/wip/exalm/cleanups] notification: Mark properties as readwrite
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/cleanups] notification: Mark properties as readwrite
- Date: Mon, 29 Nov 2021 11:43:45 +0000 (UTC)
commit a2e9f6b6c65e60caff45b40ef277da96f0f0f969
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Nov 29 13:37:42 2021 +0500
notification: Mark properties as readwrite
They have getters, so no reason not to.
lib/ephy-notification.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-notification.c b/lib/ephy-notification.c
index ce014a5ec..534b944da 100644
--- a/lib/ephy-notification.c
+++ b/lib/ephy-notification.c
@@ -183,14 +183,14 @@ ephy_notification_class_init (EphyNotificationClass *klass)
"Head",
"The notification head",
"",
- G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_WRITABLE));
+ G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_READWRITE));
g_object_class_install_property (object_class,
PROP_BODY,
g_param_spec_string ("body",
"Body",
"The notification body",
"",
- G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_WRITABLE));
+ G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_READWRITE));
}
EphyNotification *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]