[glib] Fix comment/docs grammar: incase -> in case



commit db2ae6463647bd24e6deb8ab44714c06b9f0ab20
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Sep 15 13:50:41 2017 +1200

    Fix comment/docs grammar: incase -> in case

 gio/gdbusinterfaceskeleton.c |    2 +-
 glib/gmain.c                 |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/gdbusinterfaceskeleton.c b/gio/gdbusinterfaceskeleton.c
index 4dd17af..4c82bd0 100644
--- a/gio/gdbusinterfaceskeleton.c
+++ b/gio/gdbusinterfaceskeleton.c
@@ -97,7 +97,7 @@ g_dbus_interface_skeleton_finalize (GObject *object)
 {
   GDBusInterfaceSkeleton *interface = G_DBUS_INTERFACE_SKELETON (object);
 
-  /* Hold the lock just incase any code we call verifies that the lock is held */
+  /* Hold the lock just in case any code we call verifies that the lock is held */
   g_mutex_lock (&interface->priv->lock);
 
   /* unexport from all connections if we're exported anywhere */
diff --git a/glib/gmain.c b/glib/gmain.c
index 7b71297..a0330c3 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -5025,7 +5025,7 @@ dispatch_unix_signals_unlocked (void)
   GSList *node;
   gint i;
 
-  /* clear this first incase another one arrives while we're processing */
+  /* clear this first in case another one arrives while we're processing */
   any_unix_signal_pending = FALSE;
 
   /* We atomically test/clear the bit from the global array in case
@@ -5676,7 +5676,7 @@ g_main_context_invoke (GMainContext *context,
  * invocation of @function.
  *
  * This function is the same as g_main_context_invoke() except that it
- * lets you specify the priority incase @function ends up being
+ * lets you specify the priority in case @function ends up being
  * scheduled as an idle and also lets you give a #GDestroyNotify for @data.
  *
  * @notify should not assume that it is called from any particular


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