From f1ad1ddf9cd5898b4bca3875a698a9628313eb19 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Wed, 14 Mar 2007 08:45:44 -0400 Subject: dont' mark the user properties to be set in the constructor Now that we have two properties (one deprecated) that refer to the same thing we can't require that they are both set during the constructor. Furthermore, we can't require that either of them are set because we don't know which will be used. --- src/ck-session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ck-session.c b/src/ck-session.c index 725a355..91483fc 100644 --- a/src/ck-session.c +++ b/src/ck-session.c @@ -1038,7 +1038,7 @@ ck_session_class_init (CkSessionClass *klass) 0, G_MAXINT, 0, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + G_PARAM_READWRITE)); /* deprecated */ g_object_class_install_property (object_class, PROP_USER, @@ -1048,7 +1048,7 @@ ck_session_class_init (CkSessionClass *klass) 0, G_MAXINT, 0, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + G_PARAM_READWRITE)); g_object_class_install_property (object_class, PROP_ACTIVE, g_param_spec_boolean ("idle-hint", -- cgit