Skip to content

Commit adcfad0

Browse files
QC14-045: Update the remaining references to 2005 into 2012
Change-Id: I90bc77917c22ba80e30ac453ab8c397ad4e13c2c
1 parent cd32e84 commit adcfad0

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

contrib/binding.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
-------------
135135
-- These subprograms should really be in gdk-display.ads to match what is
136136
-- done for gtk+ itself, but that would create dependency circularities.
137-
-- Ada 2005 has support for these, but we want GtkAda to build with Ada95
137+
-- Ada 2012 has support for these, but we want GtkAda to build with Ada95
138138
-- compilers.
139139

140140
function Get_Screen

docs/gtkada_ug/transition.rst

+3-4
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,11 @@ available as primitive operations in the types that implement the interface.
5757

5858
We also expect to simplify the handling of signals and signal handlers.
5959

60-
Ada 2005
60+
Ada 2012
6161
--------
6262

63-
GtkAda 3 makes use of Ada 2005 and requires GtkAda applications
64-
to be compiled in Ada 2005 or Ada 2012 mode (e.g. using the -gnat05 or
65-
-gnat2012 switch).
63+
GtkAda 3 makes use of Ada 2012 and requires GtkAda applications
64+
to be compiled in Ada 2012 mode (e.g. using the -gnat2012 switch).
6665

6766
This makes it possible to use the object-dotted notation when calling
6867
primitive operations. For instance, the following code::

po/build_skeleton.pl

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ()
1818
foreach (readdir (DIR)) {
1919
if (-d "$dir/$_" && $_ ne '.' && $_ ne '..') {
2020
push (@modules, "$dir/$_");
21-
&analyze_dir ("$dir/$_");
21+
&analyze_dir ("$dir/$_");
2222
}
2323
}
2424
close (DIR);
@@ -52,8 +52,8 @@ ()
5252
$str =~ s/"\s*&\s*"//g;
5353
$str =~ s/"\s*$//g;
5454
${$strings{$str}}{$file}++; # .= "$file ";
55-
}
56-
close (FILE);
55+
}
56+
close (FILE);
5757
}
5858
}
5959

@@ -69,7 +69,7 @@ ()
6969

7070
print <<EOF
7171
# Translation file for the GNAT Programming Studio
72-
# Copyright (C) 2005 AdaCore
72+
# Copyright (C) 2012 AdaCore
7373
#
7474
msgid ""
7575
msgstr ""

src/generated/gdk-screen.ads

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ package Gdk.Screen is
301301
-------------
302302
-- These subprograms should really be in gdk-display.ads to match what is
303303
-- done for gtk+ itself, but that would create dependency circularities.
304-
-- Ada 2005 has support for these, but we want GtkAda to build with Ada95
304+
-- Ada 2012 has support for these, but we want GtkAda to build with Ada95
305305
-- compilers.
306306

307307
function Get_Screen

src/glib-types.ads

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ package Glib.Types is
6565
----------------
6666
-- Interfaces --
6767
----------------
68-
-- Interfaces are similar, in concept, to those found in Ada 2005 or in
68+
-- Interfaces are similar, in concept, to those found in Ada 2012 or in
6969
-- Java. They define a set of subprograms that any type implementing the
7070
-- interface must also define. They are different from standard inheritance
7171
-- since no implementation of these subprograms can be provided in the

testgtk/testcairo_drawing.adb

-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
-- --
2222
------------------------------------------------------------------------------
2323

24-
pragma Ada_2005;
25-
2624
with Ada.Text_IO; use Ada.Text_IO;
2725

2826
with Ada.Numerics;

0 commit comments

Comments
 (0)