summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-11-26 14:26:27 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2016-01-07 15:21:04 +0100
commitb6edac5aca160704f2bfbba541beee5b1f994a18 (patch)
treef7ea8ef33b71f7ed6ddca306b3c7f41b35a88588
parentb44fba25fbad89c105795a10a569fe422e4d1c44 (diff)
downloadglib-b6edac5aca160704f2bfbba541beee5b1f994a18.tar.gz
glib: Clarify g_warn_if_reached API doc
Its documentation mentions that it logs a 'critical warning', but since the macro implementation calls g_warn_message(), it does not log a critical message, but a regular warning.
-rw-r--r--glib/gmessages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gmessages.h b/glib/gmessages.h
index 0be7edd78..1c5a9ee6c 100644
--- a/glib/gmessages.h
+++ b/glib/gmessages.h
@@ -275,7 +275,7 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
/**
* g_warn_if_reached:
*
- * Logs a critical warning.
+ * Logs a warning.
*
* Since: 2.16
*/