[gtkada] Bug report

Emmanuel Briot briot at adacore.com
Mon Mar 19 16:49:21 CET 2007


On Friday 16 March 2007 12:46:31 Manuel Op de Coul wrote:
> In the spec of package Gtk.Dialog there's
>
>    type Gtk_Dialog_Flags is mod 3;
>    pragma Convention (C, Gtk_Dialog_Flags);
>    Modal               : constant Gtk_Dialog_Flags := 0;
>    Destroy_With_Parent : constant Gtk_Dialog_Flags := 1;
>    No_Separator        : constant Gtk_Dialog_Flags := 2;

> But the C declaration is 
[...]
> So all three constants and the type are incorrect.

Indeed, these values have been there forever and never bothered anyone 
apparently, congrats on finding this. Most of the time, you do not need to 
use this flags, but it is still nice to have them set to the right value.

regards
Emmanuel



More information about the gtkada mailing list