[glib/wip/hadess/occurred] docs: Fix "occurred" typos in API documentation



commit 6fd2ea1dc6cb687e7c996ed1fe016b162a5399e0
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 10 10:58:46 2019 +0100

    docs: Fix "occurred" typos in API documentation

 glib/gpattern.c   | 2 +-
 gobject/gsignal.c | 4 ++--
 gobject/gvalue.c  | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/glib/gpattern.c b/glib/gpattern.c
index a43d86668..16a0bf5f7 100644
--- a/glib/gpattern.c
+++ b/glib/gpattern.c
@@ -131,7 +131,7 @@ g_pattern_ph_match (const gchar *match_pattern,
                return TRUE;
               if (next_wildcard_reached)
                 /* the forthcoming pattern substring up to the next wildcard has
-                 * been matched, but a mismatch occoured for the rest of the
+                 * been matched, but a mismatch occurred for the rest of the
                  * pattern, following the next wildcard.
                  * there's no need to advance the current match position any
                  * further if the rest pattern will not match.
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index 76f889384..6cdd02bbf 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -2216,7 +2216,7 @@ g_signal_chain_from_overridden_handler (gpointer instance,
               g_free (error);
 
               /* we purposely leak the value here, it might not be
-               * in a sane state if an error condition occoured
+               * in a sane state if an error condition occurred
                */
               while (i--)
                 g_value_unset (param_values + i);
@@ -3408,7 +3408,7 @@ g_signal_emit_valist (gpointer instance,
          g_free (error);
 
          /* we purposely leak the value here, it might not be
-          * in a sane state if an error condition occoured
+          * in a sane state if an error condition occurred
           */
          while (i--)
            g_value_unset (param_values + i);
diff --git a/gobject/gvalue.c b/gobject/gvalue.c
index 6d10f61a2..c30501a6b 100644
--- a/gobject/gvalue.c
+++ b/gobject/gvalue.c
@@ -376,7 +376,7 @@ g_value_set_instance (GValue  *value,
       g_free (error_msg);
       
       /* we purposely leak the value here, it might not be
-       * in a sane state if an error condition occoured
+       * in a sane state if an error condition occurred
        */
       value_meminit (value, g_type);
       value_table->value_init (value);
@@ -440,7 +440,7 @@ g_value_init_from_instance (GValue  *value,
           g_free (error_msg);
 
           /* we purposely leak the value here, it might not be
-           * in a sane state if an error condition occoured
+           * in a sane state if an error condition occurred
            */
           value_meminit (value, g_type);
           value_table->value_init (value);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]