]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix spelling errors using 'codespell' tool
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Mon, 15 Apr 2013 02:57:55 +0000 (19:57 -0700)
committerJürg Billeter <j@bitron.ch>
Fri, 26 Apr 2013 11:42:25 +0000 (13:42 +0200)
codegen/valaccodememberaccessmodule.vala
codegen/valaccodemethodmodule.vala
doc/vala-gen-introspect.1
gee/collection.vala
gee/list.vala
gobject-introspection/scanner.c
vala/valacodecontext.vala
vala/valaelementaccess.vala
vala/valagenieparser.vala
vapi/metadata/Pango-1.0.metadata

index 1df4834ce1298b45e8a3b6d7ca68f4cf7aec01cf..e9aefd5c9864c5d40b61b07f1ca74028d9ff8330 100644 (file)
@@ -455,7 +455,7 @@ public abstract class Vala.CCodeMemberAccessModule : CCodeControlFlowModule {
                                        (param.direction == ParameterDirection.IN && type_as_struct != null && !type_as_struct.is_simple_type () && !result.value_type.nullable)) {
                                        result.cvalue = new CCodeUnaryExpression (CCodeUnaryOperator.POINTER_INDIRECTION, new CCodeIdentifier (get_variable_cname (name)));
                                } else {
-                                       // Property setters of non simple structs shall replace all occurences
+                                       // Property setters of non simple structs shall replace all occurrences
                                        // of the "value" formal parameter with a dereferencing version of that
                                        // parameter.
                                        if (current_property_accessor != null &&
index 42faab54997d7613a0f9a95e3ca1be4a987e01bb..94edfe146b8b3e30e9c0965dbcd09b9a16dd16de 100644 (file)
@@ -988,12 +988,12 @@ public abstract class Vala.CCodeMethodModule : CCodeStructModule {
                foreach (Parameter param in m.get_parameters ()) {
                        if (param.direction != ParameterDirection.OUT) {
                                if ((direction & 1) == 0) {
-                                       // no in paramters
+                                       // no in parameters
                                        continue;
                                }
                        } else {
                                if ((direction & 2) == 0) {
-                                       // no out paramters
+                                       // no out parameters
                                        continue;
                                }
                        }
index d97f3b5ae11721978823e89d5d391d1a381e3828..68052d96acd6170d6be05ddb6643580a3283a9b9 100644 (file)
@@ -20,7 +20,7 @@ After compilation, the following command generates a GI for pango:
 
 .SH OPTIONS
 .TP
-This command currenly takes no command line options.
+This command currently takes no command line options.
 .SH SEE ALSO
 .BR vapigen (1)
 
index 6a652fcdfd41cddf804264f8158c91aef206c946..76f568a1f07badc8fcc78795210b70f49fe2c2bb 100644 (file)
@@ -50,7 +50,7 @@ public abstract class Vala.Collection<G> : Iterable<G> {
        public abstract bool add (G item);
 
        /**
-        * Removes the first occurence of an item from this collection. Must not
+        * Removes the first occurrence of an item from this collection. Must not
         * be called on read-only collections.
         *
         * @param item the item to remove from the collection
index e11399cbaabdd3c550acddf10eee6eed4834d214..d730283371dc050e0b4b944056af8dd7ea422210 100644 (file)
@@ -41,10 +41,10 @@ public abstract class Vala.List<G> : Collection<G> {
        public abstract void set (int index, G item);
 
        /**
-        * Returns the index of the first occurence of the specified item in
+        * Returns the index of the first occurrence of the specified item in
         * this list.
         *
-        * @return the index of the first occurence of the specified item, or
+        * @return the index of the first occurrence of the specified item, or
         *         -1 if the item could not be found
         */
        public abstract int index_of (G item);
index ced13f4a6ab494c9de62f6f7236ba503c026bf89..f691e78b887cef807951309812db3bd77b2f4039 100644 (file)
@@ -1501,7 +1501,7 @@ g_igenerator_add_include_idl (GIGenerator *igenerator,
   modules = g_idl_parse_file (filename, &error);
   if (error)
     {
-      g_printerr ("An error occured while parsing %s: %s\n",
+      g_printerr ("An error occurred while parsing %s: %s\n",
                  filename, error->message);
       return;
     }
index 6825294a7c5f8d98a0e84c2fc4428bf263452cfd..5e92e81c15c34a976c5af1512e2eeb9e8517641a 100644 (file)
@@ -329,7 +329,7 @@ public class Vala.CodeContext {
         */
        public bool add_external_package (string pkg) {
                if (has_package (pkg)) {
-                       // ignore multiple occurences of the same package
+                       // ignore multiple occurrences of the same package
                        return true;
                }
 
index a86a077bb00ff0b717268b26a3bf3fac307a9fc2..b879ffc9f0469ebbbe147a250997fd86b1740ac3 100644 (file)
@@ -29,7 +29,7 @@ using GLib;
  */
 public class Vala.ElementAccess : Expression {
        /**
-        * Expression representing the container on wich we want to access.
+        * Expression representing the container on which we want to access.
         */
        public Expression container {
                get {
index d4d9d3fde66df2a9448a42ea3dd1d2ae85f91cec..01b89d69055d836d850e998a7c74b93ab7254a88 100644 (file)
@@ -2648,7 +2648,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                if (ModifierFlags.PRIVATE in flags) {
                        cl.access = SymbolAccessibility.PRIVATE;
                } else {
-                       /* class must always be Public unless its name starts wtih underscore */
+                       /* class must always be Public unless its name starts with underscore */
                        if (sym.name[0] == '_') {
                                cl.access = SymbolAccessibility.PRIVATE;
                        } else {
index 879dd1118d045b8b66fc9146aff36b672c6c50d8..91d096183d37c5baabebabd4ccd60126de7b7018 100644 (file)
@@ -65,7 +65,7 @@ read_line
 scan_string
   .out out=false
 
-// Backwards compatability
+// Backwards compatibility
 AttrClass
   .copy type="GLib.Callback" skip=false
   .destroy type="GLib.Callback" skip=false