[gtkada] Bug report
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Fri Mar 16 12:46:31 CET 2007
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;
-- Various flags that can be set for the dialog, with the following
-- implications:
-- - Modal : the dialog is modal, see Gtk.Window.Set_Modal
-- - Destroy_With_Parent: The dialog is destroyed if its parent is
-- destroyed. See Gtk.Window.Set_Destroy_With_Parent
-- - No_Separator: No separator bar above the buttons.
But the C declaration is
typedef enum
{
GTK_DIALOG_MODAL = 1 << 0, /* call gtk_window_set_modal
(win, TRUE) */
GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1, /* call
gtk_window_set_destroy_with_parent () */
GTK_DIALOG_NO_SEPARATOR = 1 << 2 /* no separator bar above
buttons */
} GtkDialogFlags;
So all three constants and the type are incorrect.
Thanks,
Manuel
-----------------------------------------------------------------
The information contained in this message is confidential and
intended for the addressee only. If you are not the intended
recipient, please notify the sender immediately and delete the
message. Any unauthorised use, dissemination of information or
copying of this message is prohibited. Views represented in this
email are not necessarily those of E.ON Benelux. Internet e-mail
is subject to risks. E.ON Benelux therefore declines any
responsibility for damages from the use of internet e-mail.
-----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20070316/52324510/attachment.htm
More information about the gtkada
mailing list