[gtkada] Possible problem in Glib.Properties

Emmanuel Briot briot at act-europe.fr
Mon Nov 8 11:10:31 CET 2004


On Mon, 2004-11-08 at 11:02, Manuel Op de Coul wrote:
> Now Glib.Property is a new String which means an Ada string is
> passed to C without being interfaced properly, in the body
> of Glib.Properties.Get_Property:

We could indeed add a ASCII.NUL, but that shouldn't be necessary
in the general case.
The predefined properties in GtkAda are created through a call
to Glib.Build, which automatically appends an ASCII.NUL at the end when
necessary.

How did you create the property you are using ?

Emmanuel




More information about the gtkada mailing list