This file is indexed.

/usr/share/ada/adainclude/gtkada/gdk-image.ads is in libgtkada2.24.1-dev 2.24.1-14.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
-----------------------------------------------------------------------
--               GtkAda - Ada95 binding for Gtk+/Gnome               --
--                                                                   --
--   Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet   --
--                Copyright (C) 2000-2002 ACT-Europe                 --
--                                                                   --
-- This library is free software; you can redistribute it and/or     --
-- modify it under the terms of the GNU General Public               --
-- License as published by the Free Software Foundation; either      --
-- version 2 of the License, or (at your option) any later version.  --
--                                                                   --
-- This library is distributed in the hope that it will be useful,   --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of    --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU --
-- General Public License for more details.                          --
--                                                                   --
-- You should have received a copy of the GNU General Public         --
-- License along with this library; if not, write to the             --
-- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      --
-- Boston, MA 02111-1307, USA.                                       --
--                                                                   --
-----------------------------------------------------------------------

--  The Gdk_Image type represents an area for drawing graphics.
--  It has now been superceded to a large extent by the much more flexible
--  Gdk.RGB functions.
--
--  To create an empty Gdk_Image use Gdk_New. To create an image from part of
--  a Gdk_Window, use Get.
--
--  To draw a Gdk_Image in a Gdk_Window or Gdk_Pixmap use
--  Gdk.Drawable.Draw_Image.

--  <c_version>1.3.6</c_version>
--  <group>Gdk, the low-level API</group>

with Glib; use Glib;

package Gdk.Image is

   subtype Gdk_Image is Gdk.Gdk_Image;
   Null_Image : constant Gdk_Image;

   type Gdk_Image_Type is (Image_Normal, Image_Shared, Image_Fastest);
   pragma Convention (C, Gdk_Image_Type);

   procedure Gdk_New
     (Image      : out Gdk_Image;
      Image_Type : Gdk_Image_Type;
      Visual     : Gdk.Gdk_Visual;
      Width      : Gint;
      Height     : Gint);

   function Get_Type return Glib.GType;
   --  Return the internal value associated with a Gdk_Image.

   procedure Get
     (Image    : out Gdk_Image;
      Drawable : Gdk.Gdk_Drawable;
      X        : Gint;
      Y        : Gint;
      Width    : Gint;
      Height   : Gint);

   procedure Ref (Image : Gdk_Image);
   --  Increment the reference counting for the image.

   procedure Unref (Image : Gdk_Image);
   --  Decrement the reference counting for the image.
   --  When this reaches 0, the image is destroyed.

   procedure Destroy (Image : Gdk_Image);
   --  Deprecated. Use Unref instead.

   procedure Put_Pixel
     (Image : Gdk_Image;
      X     : Gint;
      Y     : Gint;
      Pixel : Guint32);

   function Get_Pixel (Image : Gdk_Image; X : Gint; Y : Gint) return Guint32;

private
   Null_Image : constant Gdk_Image := null;
   pragma Import (C, Get_Type, "gdk_image_get_type");
   pragma Import (C, Destroy, "gdk_image_unref");
   pragma Import (C, Ref, "gdk_image_ref");
   pragma Import (C, Unref, "gdk_image_unref");
   pragma Import (C, Get_Pixel, "gdk_image_get_pixel");
   pragma Import (C, Put_Pixel, "gdk_image_put_pixel");
end Gdk.Image;