[gtkada] Bug in glib-types.ads

François FABIEN francois_fabien at hotmail.com
Fri Jun 13 07:32:49 CEST 2014


Hello,

Bug in glib-types.ads :

    procedure Class_Unref (T : GType);

  should be :

    procedure Class_Unref (C : GObject_Class);

As per gnome doc
  https://developer.gnome.org/gobject/2.40/gobject-Type-Information.html#g-type-class-unref

  void
g_type_class_unref (gpointer g_class);

However, this bug should not concern many applications as this function 
is not widely used. (only a possible memory leak)

Regards

François




More information about the gtkada mailing list