Re: enforcing construct only properties and gnome-session



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.

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.

Bye,
-Torsten




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]