[glib] glib: Clarify g_warn_if_reached API doc
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] glib: Clarify g_warn_if_reached API doc
- Date: Thu, 7 Jan 2016 14:27:24 +0000 (UTC)
commit b6edac5aca160704f2bfbba541beee5b1f994a18
Author: Christophe Fergeau <cfergeau redhat com>
Date: Thu Nov 26 14:26:27 2015 +0100
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.
glib/gmessages.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmessages.h b/glib/gmessages.h
index 0be7edd..1c5a9ee 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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]