[epiphany] history-service: Allow reading history filename



commit fff709a2babd44a6e1b8a16f6c70a60b21734f39
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Feb 19 12:37:52 2017 -0600

    history-service: Allow reading history filename
    
    There's no reason to prevent reading it. We should either do this or
    else remove the get_property implementation, as it doesn't make any
    sense to have code for getting an unreadable property.

 lib/history/ephy-history-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service.c b/lib/history/ephy-history-service.c
index e67bf96..d846827 100644
--- a/lib/history/ephy-history-service.c
+++ b/lib/history/ephy-history-service.c
@@ -284,7 +284,7 @@ ephy_history_service_class_init (EphyHistoryServiceClass *klass)
                          "History filename",
                          "The filename of the SQLite file holding containing history",
                          NULL,
-                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS);
+                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
   obj_properties[PROP_READ_ONLY] =
     g_param_spec_boolean ("read-only",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]