Re: problems with BOXED property.

Pierre Gay <[email protected]> Wed, 05 May 2004 21:56:23 +0200
Newsgroups gmane.comp.gnome.devtools.gob.general
Message-ID <1083786982.3332.29.camel@lurien>
Le mer 05/05/2004 à 07:38, George a écrit :
> On Wed, May 05, 2004 at 12:10:11AM +0200, Pierre Gay wrote:
> > Hello,
> > 
> > I'm using gob2 and I try to use a BOXED property like this:
> > 
> >   private PackageBoxed *prop;
> >   property BOXED prop
> >     (nick="prop",
> >      blurb="prop",
> >      boxed_type=Package:Boxed,
> >      link
> >      );
> > 
> > I encounter a compilation problem because gob produces C code
> > (___object_set_property ()) for the property setter with "Package:Boxed"
> > instead of "PackageBoxed" which of course is not recognized by gcc :)
> > 
> > Did I do something wrong? Can you help me?
> 
> Sorry, a bug in gob!  DOH!  The old semantics was to use PACKAGE_TYPE_BOXED
> instead of Package:Boxed in 2.0.0 and earlier, but that was inconsistent.
> Using PACKAGE_TYPE_BOXED there should just still work (and will also work in
> the future).  I fixed this in CVS and will make a new version of gob
> available to fix this.
> 
> George

Thank you very much.

It's very kind to solve this problem so fast.

thanks again.

Pierre

--
to unsubscribe:
send mail to [email protected] with "unsubscribe gob-list" in the subject