[epiphany/wip/exalm/cleanups: 3/14] notification: Mark properties as readwrite




commit 65c18a85b0c133f2ea34292ee03b49e53906aa4a
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.
    
    Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1034>

 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]