diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-03-14 08:45:44 -0400 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2007-03-14 08:45:44 -0400 |
commit | f1ad1ddf9cd5898b4bca3875a698a9628313eb19 (patch) | |
tree | ae02ed7ab87dbb91428670f1bf39687f45c8d934 | |
parent | c01153022b0fa850bd10503141ff081749f01d4d (diff) | |
download | ConsoleKit2-f1ad1ddf9cd5898b4bca3875a698a9628313eb19.tar.gz |
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.c | 4 |
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", |