Package: libgtkada2-dev
Version: 2.8.1-5
Severity: normal
Tags: upstream

(From Manuel Op de Coul, reported to the GtkAda mailing list):

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.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libgtkada2-dev depends on:
ii  gnat-4.1                    4.1.1-22     The GNU Ada compiler
ii  libc6-dev                   2.3.6.ds1-13 GNU C Library: Development Librari
ii  libglade2-dev               1:2.6.0-4    development files for libglade
ii  libgtk2.0-dev               2.8.20-7     Development files for the GTK+ lib
ii  libgtkada-2.8               2.8.1-5      Ada binding for the GTK library

Versions of packages libgtkada2-dev recommends:
ii  glade [glade-2]               2.12.1-7   GTK+ 2 User Interface Builder
ii  libglu1-mesa-dev              6.5.1-0.6  The OpenGL utility library -- deve
ii  libgtkada-gl-2.8              2.8.1-5    Ada binding for OpenGL
ii  libgtkada-glade-2.8           2.8.1-5    Ada binding for Glade generated ap
ii  libgtkada2-bin                2.8.1-5    Development files for libgtkada2

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to