aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-05-06 18:53:03 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-05-06 18:53:03 +0200
commitdf1f21d17f6923145926fba5be38cff947254cae (patch)
treed7f93d323954bbb6f0c2116359e0affb05b5738f
parent8a47621a5c7dd909e117033ca21f5fb3fa7ece9e (diff)
sms: fix setting multipart specific properties
Don't make them construct-only, so that we can set them whenever needed.
-rw-r--r--src/mm-sms.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-sms.c b/src/mm-sms.c
index 849722fe..b68ee768 100644
--- a/src/mm-sms.c
+++ b/src/mm-sms.c
@@ -1292,7 +1292,7 @@ mm_sms_class_init (MMSmsClass *klass)
"Is multipart",
"Flag specifying if the SMS is multipart",
FALSE,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_IS_MULTIPART, properties[PROP_IS_MULTIPART]);
properties[PROP_MAX_PARTS] =
@@ -1300,7 +1300,7 @@ mm_sms_class_init (MMSmsClass *klass)
"Max parts",
"Maximum number of parts composing this SMS",
1,255, 1,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_MAX_PARTS, properties[PROP_MAX_PARTS]);
properties[PROP_MULTIPART_REFERENCE] =
@@ -1308,6 +1308,6 @@ mm_sms_class_init (MMSmsClass *klass)
"Multipart reference",
"Common reference for all parts in the multipart SMS",
0, G_MAXUINT, 0,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
+ G_PARAM_READWRITE);
g_object_class_install_property (object_class, PROP_MULTIPART_REFERENCE, properties[PROP_MULTIPART_REFERENCE]);
}