Fix typos in gbytes_hash and g_time_zone_find_interval docs
authorGergely POLONKAI <gergely@polonkai.eu>
Sat, 12 Jul 2014 07:36:00 +0000 (07:36 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Jul 2014 12:39:34 +0000 (08:39 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=733084

glib/gbytes.c
glib/gtimezone.c

index a22500b..1520d76 100644 (file)
@@ -346,7 +346,7 @@ g_bytes_equal (gconstpointer bytes1,
  *
  * Creates an integer hash code for the byte data in the #GBytes.
  *
- * This function can be passed to g_hash_table_new() as the @key_equal_func
+ * This function can be passed to g_hash_table_new() as the @key_hash_func
  * parameter, when using non-%NULL #GBytes pointers as keys in a #GHashTable.
  *
  * Returns: a hash value corresponding to the key.
index 1c1d84c..b61529f 100644 (file)
@@ -1699,7 +1699,7 @@ g_time_zone_adjust_time (GTimeZone *tz,
  * If @type is %G_TIME_TYPE_UNIVERSAL then this function will always
  * succeed (since universal time is monotonic and continuous).
  *
- * Otherwise @time_ is treated is local time.  The distinction between
+ * Otherwise @time_ is treated as local time.  The distinction between
  * %G_TIME_TYPE_STANDARD and %G_TIME_TYPE_DAYLIGHT is ignored except in
  * the case that the given @time_ is ambiguous.  In Toronto, for example,
  * 01:30 on November 7th 2010 occurred twice (once inside of daylight