gmem: Fix a typo in the g_try_new0() documentation

This commit is contained in:
Philip Withnall 2015-09-02 14:48:04 +01:00
parent b77fe970db
commit 7a65d1d3fb

View File

@ -313,7 +313,7 @@ g_steal_pointer (gpointer pp)
* to 0's, and returns %NULL on failure. Contrast with g_new0(), which aborts
* the program on failure.
* The returned pointer is cast to a pointer to the given type.
* The function returns %NULL when @n_structs is 0 of if an overflow occurs.
* The function returns %NULL when @n_structs is 0 or if an overflow occurs.
*
* Since: 2.8
* Returns: a pointer to the allocated memory, cast to a pointer to @struct_type