From df1f21d17f6923145926fba5be38cff947254cae Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 6 May 2012 18:53:03 +0200 Subject: sms: fix setting multipart specific properties Don't make them construct-only, so that we can set them whenever needed. --- src/mm-sms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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]); } -- cgit v1.2.3-70-g09d2