summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2018-07-19 17:54:22 +0200
committerMilan Crha <mcrha@redhat.com>2018-07-19 17:54:22 +0200
commitff1af187f8bd608c85549aaa877cd03bcc54d7be (patch)
tree65ca5cdbf82bbd2ab23251d6fedc962cfd1381e2
parent3761707d4e981b1ae6a77fc2065fb1750825465e (diff)
downloadevolution-data-server-ff1af187f8bd608c85549aaa877cd03bcc54d7be.tar.gz
[EClient] Really default readonly property to FALSE
While the class_init() defaults readonly property to FALSE, it's not marked to be constructed, thus this value doesn't propagate to the corresponding variable. That would not be a problem, but the instance's init() function set the readonly to TRUE. Let's make it the same.
-rw-r--r--src/libedataserver/e-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libedataserver/e-client.c b/src/libedataserver/e-client.c
index 6fdfef6b6..3c8a5fe82 100644
--- a/src/libedataserver/e-client.c
+++ b/src/libedataserver/e-client.c
@@ -945,7 +945,7 @@ e_client_init (EClient *client)
{
client->priv = E_CLIENT_GET_PRIVATE (client);
- client->priv->readonly = TRUE;
+ client->priv->readonly = FALSE;
client->priv->main_context = g_main_context_ref_thread_default ();
g_rec_mutex_init (&client->priv->prop_mutex);