[gtkada] bug in function Gtk.Main.Check_Version (gtkada 2.24.10)
    Emmanuel Briot 
    briot at adacore.com
       
    Wed Jan 23 17:28:59 CET 2013
    
    
  
> Working with version 2.24.10, the behavior of Gtk.Main.Check_Version when the check is OK is incorrect.
>>   --  Return value: %NULL if the GTK+ library is compatible with the given
>>   --  version, or a string describing the version mismatch.
> In fact, it should return an Empty String instead when compatible.
> 
> Presently, when check is OK throws an exception INTERFACES.C.STRINGS.DEREFERENCE_ERROR
> Yous should check  if
>    Internal (Required_Major, Required_Minor, Required_Micro)
> 
> is null, before taking the Value.
Thanks, this is now fixed in the development version of GtkAda.
regards
Emmanuel
    
    
More information about the gtkada
mailing list