Package: libgtk2-perl / 2:1.2499-1

Fix-typos-in-POD.patch Patch series | download
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
From: intrigeri <intrigeri@boum.org>
Date: Sun, 2 Oct 2016 08:54:11 +0000
Subject: Fix typos in POD.
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=772333

---
 lib/Gtk2/api.pod  | 4 ++--
 xs/GtkPaned.xs    | 2 +-
 xs/GtkTreeView.xs | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Gtk2/api.pod b/lib/Gtk2/api.pod
index 6384beb..a9b7e3b 100644
--- a/lib/Gtk2/api.pod
+++ b/lib/Gtk2/api.pod
@@ -312,7 +312,7 @@ write them is deprecated, but supported.
 
 =item Gtk2::ItemFactory::create_items
 
-The n_entries parameter has been ommited and callback_data is accepted as the
+The n_entries parameter has been omitted and callback_data is accepted as the
 first parameter. All parameters after that are considered to be entries.
 
 =item Gtk2::List::insert_items
@@ -342,7 +342,7 @@ Note that the C<_menu> versions of these functions do I<not> do this.
 
 Where a GClosure is wanted by the C stuff, a perl subroutine reference
 suffices.  However, because of this, there are a few subtle differences in
-sematics.  a GClosure may be connected to only one GtkAccelGroup; however, a
+semantics.  a GClosure may be connected to only one GtkAccelGroup; however, a
 perl subroutine may be connected to many GtkAccelGroups (because at the binding
 level, a new GClosure is created on each call to ->connect).  Thus,
 $accel_group->disconnect will disconnect the first group it finds to be
diff --git a/xs/GtkPaned.xs b/xs/GtkPaned.xs
index 790b54b..f677480 100644
--- a/xs/GtkPaned.xs
+++ b/xs/GtkPaned.xs
@@ -28,7 +28,7 @@ MODULE = Gtk2::Paned	PACKAGE = Gtk2::Paned	PREFIX = gtk_paned_
 Gtk2::Paned is the base class for widgets with two panes, arranged either
 horizontally (Gtk2::HPaned) or vertically (Gtk2::VPaned).  Child widgets are
 added to the panes of the widget with C<< $paned->pack1 >> and
-C<< $paned->pack2 >>.  The division beween the two children is set by default
+C<< $paned->pack2 >>.  The division between the two children is set by default
 from the size requests of the children, but it can be adjusted by the user. 
 
 A paned widget draws a separator between the two child widgets and a small
diff --git a/xs/GtkTreeView.xs b/xs/GtkTreeView.xs
index 4f97a62..dafb736 100644
--- a/xs/GtkTreeView.xs
+++ b/xs/GtkTreeView.xs
@@ -330,7 +330,7 @@ gtk_tree_view_get_column (tree_view, n)
 	gint n
 
 =for apidoc
-Retuns an array of columns.
+Returns an array of columns.
 =cut
 void
 gtk_tree_view_get_columns (tree_view)