invoke GObjectClass.constructed() only for newly constructed objects, and
authorRyan Lortie <desrt@desrt.ca>
Tue, 3 Apr 2007 10:44:30 +0000 (10:44 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 3 Apr 2007 10:44:30 +0000 (10:44 +0000)
commitdac885cba5e02b0a6911061ed9fa4413fb7f289c
tree86ffe746d96a8db028075cdec9a952c7e514e44b
parente3562e543aa276dcfeefde3cdb22e37ded502df7
invoke GObjectClass.constructed() only for newly constructed objects, and

Tue Apr  3 12:34:14 2007  Tim Janik  <timj@gtk.org>

        * gobject.[hc]: invoke GObjectClass.constructed() only for newly
        constructed objects, and invoke it while the notify queue is
        still being frozen, after all CONSTRUCT* properties have been
        set and before random other properties are being set.

        * applied modified patch from Ryan Lortie to implement
        GObjectClass.constructed() to fix #425324.

2007-04-02  Ryan Lortie  <desrt@desrt.ca>

        * gobject/gobject.h: Add 'constructed' vcall to GObjectClass.
        * gobject/gobject.c (g_object_newv): call ->constructed() as last
        step of object construction.

svn path=/trunk/; revision=5441
gobject/ChangeLog
gobject/gobject.c
gobject/gobject.h