summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-09-16 20:55:59 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-09-16 20:55:59 +0000
commit8ca0f66ea7cf0e04c518e51bbfef57c71de6f6f2 (patch)
tree5f88a8118112824e63b4fd226039006c64004bde /docs/reference
parent3a109829a859ba578dd7b18a25c91eaeddd57579 (diff)
Replace G_LOG_FLAG_RECURSIVE by G_LOG_FLAG_RECURSION throughout. (#93390)
* glib/tmpl/messages.sgml: Replace G_LOG_FLAG_RECURSIVE by G_LOG_FLAG_RECURSION throughout. (#93390)
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/ChangeLog5
-rw-r--r--docs/reference/glib/tmpl/messages.sgml10
2 files changed, 10 insertions, 5 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 84607e576..8f68d2ee3 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-16 Matthias Clasen <maclas@gmx.de>
+
+ * glib/tmpl/messages.sgml: Replace G_LOG_FLAG_RECURSIVE by
+ G_LOG_FLAG_RECURSION throughout. (#93390)
+
2002-08-12 Matthias Clasen <maclas@gmx.de>
* glib/glib-sections.txt: Add g_markup_parse_context_get_element
diff --git a/docs/reference/glib/tmpl/messages.sgml b/docs/reference/glib/tmpl/messages.sgml
index 46b682db0..57c773bc9 100644
--- a/docs/reference/glib/tmpl/messages.sgml
+++ b/docs/reference/glib/tmpl/messages.sgml
@@ -159,7 +159,7 @@ documentation.
<para>
Sets the log handler for a domain and a set of log levels.
To handle fatal and recursive messages the @log_levels parameter
-must be combined with the #G_LOG_FLAG_FATAL and #G_LOG_FLAG_RECURSIVE bit flags.
+must be combined with the #G_LOG_FLAG_FATAL and #G_LOG_FLAG_RECURSION bit flags.
</para>
<para>
Note that since the #G_LOG_LEVEL_ERROR log level is always fatal, if you want
@@ -170,7 +170,7 @@ to set a handler for this log level you must combine it with #G_LOG_FLAG_FATAL.
<title>Adding a log handler for all warning messages in the default (application) domain</title>
<programlisting>
g_log_set_handler (NULL, G_LOG_LEVEL_WARNING | G_LOG_FLAG_FATAL
- | G_LOG_FLAG_RECURSIVE, my_log_handler, NULL);
+ | G_LOG_FLAG_RECURSION, my_log_handler, NULL);
</programlisting>
</example>
@@ -178,7 +178,7 @@ to set a handler for this log level you must combine it with #G_LOG_FLAG_FATAL.
<title>Adding a log handler for all critical messages from GTK+</title>
<programlisting>
g_log_set_handler ("Gtk", G_LOG_LEVEL_CRITICAL | G_LOG_FLAG_FATAL
- | G_LOG_FLAG_RECURSIVE, my_log_handler, NULL);
+ | G_LOG_FLAG_RECURSION, my_log_handler, NULL);
</programlisting>
</example>
@@ -186,14 +186,14 @@ to set a handler for this log level you must combine it with #G_LOG_FLAG_FATAL.
<title>Adding a log handler for <emphasis>all</emphasis> messages from GLib</title>
<programlisting>
g_log_set_handler ("GLib", G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL
- | G_LOG_FLAG_RECURSIVE, my_log_handler, NULL);
+ | G_LOG_FLAG_RECURSION, my_log_handler, NULL);
</programlisting>
</example>
@log_domain: the log domain, or %NULL for the default "" application domain.
@log_levels: the log levels to apply the log handler for. To handle fatal
and recursive messages as well, combine the log levels with the
-#G_LOG_FLAG_FATAL and #G_LOG_FLAG_RECURSIVE bit flags.
+#G_LOG_FLAG_FATAL and #G_LOG_FLAG_RECURSION bit flags.
@log_func: the log handler function.
@user_data: data passed to the log handler.
@Returns: the id of the new handler.