Re: enforcing construct only properties and gnome-session
- From: Tim Janik <timj gtk org>
- To: Torsten Schoenfeld <kaffeetisch web de>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: enforcing construct only properties and gnome-session
- Date: Sun, 18 Jan 2004 11:26:53 +0100 (CET)
On Thu, 15 Jan 2004, Torsten Schoenfeld wrote:
> On Thu, 2004-01-15 at 15:17, Tim Janik wrote:
>
> > > [1] http://bugzilla.gnome.org/show_bug.cgi?id=129899
> >
> > unfortunately that bug report doesn't give enough background.
> > e.g. why did setting construct properties work at all before?
>
> Because gobject didn't prevent them from being set after construction.
that's beside the point. why did the property setter accept a
construct property after construction time? if it always does so,
the property in question should probably not be a construct property.
> The Perl bindings for libgnome exploited this to wrap
> gnome_program_init: We call gnome_program_init with GNOME_PARAM_NONE
> first and later use g_object_set_property to set the specified
> properties.
so, if that worked after construction, the property prolly doesn't need
to be a construct property.
>
> Bye,
> -Torsten
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]