[gtkada] Glib.Type_Name produces same result for different values
Emmanuel Briot
briot at adacore.com
Thu Apr 25 15:51:56 CEST 2013
> I noticed that Glib.Type_Name produces the same result for different values. On Linux this happened for:
> 137860473 GdkEvent
> 137860472 GdkEvent
> 138118857 GtkTextIter
> 138118856 GtkTextIter
> 137921489 GtkTreePath
> 137921488 GtkTreePath
> 65 gchararray
> 64 gchararray
>
> Glib.Type_From_Name always produces the lower value.
>
> Why is that and does it potentially influence program behavior?
You should likely ask this question on a gtk+ mailing list, since GtkAda does nothing
but call the C function here.
I honestly don't see why you should care, though, unless you are seeing some other
problem.
Emmanuel
More information about the gtkada
mailing list