[gtkada] Glib.Type_Name produces same result for different values

Rob Groen robgr at xs4all.nl
Thu Apr 25 15:47:34 CEST 2013


Hello,

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?

Regards,
Rob Groen


More information about the gtkada mailing list