summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-03-14 08:45:44 -0400
committerWilliam Jon McCann <mccann@jhu.edu>2007-03-14 08:45:44 -0400
commitf1ad1ddf9cd5898b4bca3875a698a9628313eb19 (patch)
treeae02ed7ab87dbb91428670f1bf39687f45c8d934
parentc01153022b0fa850bd10503141ff081749f01d4d (diff)
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.
-rw-r--r--src/ck-session.c4
1 files 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",