mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
got rid of g_set_error_handler(), g_set_warning_handler(),
Mon Sep 10 17:13:36 2001 Tim Janik <timj@gtk.org> * glib/gmessages.h: got rid of g_set_error_handler(), g_set_warning_handler(), g_set_message_handler(). Wed Sep 5 05:24:07 2001 Tim Janik <timj@gtk.org> * gobject/tmpl/gboxed.sgml: documented some functions. * gobject/tmpl/objects.sgml: some fixups. Mon Sep 10 19:27:47 2001 Tim Janik <timj@gtk.org> * gtype.[hc]: g_type_add_interface*(): implement the ability to add an interface to a type whose parents already conform to this interface. such "overriding" interfaces, when initialized, are not just initialized with 0, but with a copy of the interface they override. g_type_interface_peek_parent(): new function, return the interface that this interface "overrides", if any. * testgruntime.c: test new interface stuff.
This commit is contained in:
@@ -777,14 +777,6 @@ g_log_set_always_fatal
|
||||
g_log_set_fatal_mask
|
||||
g_log_default_handler
|
||||
|
||||
<SUBSECTION>
|
||||
g_set_error_handler
|
||||
GErrorFunc
|
||||
g_set_warning_handler
|
||||
GWarningFunc
|
||||
g_set_message_handler
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<TITLE>Timers</TITLE>
|
||||
<FILE>timers</FILE>
|
||||
|
@@ -1,3 +1,29 @@
|
||||
<!-- ##### SECTION ./tmpl/messages.sgml:Long_Description ##### -->
|
||||
<para>
|
||||
These functions provide support for logging error messages or messages
|
||||
used for debugging.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
There are several built-in levels of messages, defined in #GLogLevelFlags.
|
||||
These can be extended with user-defined levels.
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/messages.sgml:See_Also ##### -->
|
||||
<para>
|
||||
|
||||
</para>
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/messages.sgml:Short_Description ##### -->
|
||||
versatile support for logging messages with different levels of importance.
|
||||
|
||||
|
||||
<!-- ##### SECTION ./tmpl/messages.sgml:Title ##### -->
|
||||
Message Logging
|
||||
|
||||
|
||||
<!-- ##### ENUM GChannelError ##### -->
|
||||
<para>
|
||||
|
||||
@@ -51,6 +77,13 @@
|
||||
@s2:
|
||||
@Returns:
|
||||
|
||||
<!-- ##### USER_FUNCTION GErrorFunc ##### -->
|
||||
<para>
|
||||
Specifies the type of function passed to g_set_error_handler().
|
||||
</para>
|
||||
|
||||
@str: the error message.
|
||||
|
||||
<!-- ##### USER_FUNCTION GHookFreeFunc ##### -->
|
||||
<para>
|
||||
|
||||
@@ -71,6 +104,13 @@
|
||||
@G_IO_FILE_MODE_READ_WRITE_TRUNCATE:
|
||||
@G_IO_FILE_MODE_READ_WRITE_APPEND:
|
||||
|
||||
<!-- ##### USER_FUNCTION GWarningFunc ##### -->
|
||||
<para>
|
||||
Specifies the type of function passed to g_set_warning_handler().
|
||||
</para>
|
||||
|
||||
@str: the warning message.
|
||||
|
||||
<!-- ##### MACRO G_CHANNEL_ERROR ##### -->
|
||||
<para>
|
||||
|
||||
@@ -223,6 +263,33 @@ documentation.
|
||||
@filename: the file name.
|
||||
@Returns: the file attributes.
|
||||
|
||||
<!-- ##### FUNCTION g_set_error_handler ##### -->
|
||||
<para>
|
||||
Sets the function to be called to handle error messages.
|
||||
This function is deprecated in favour of the new logging facilities.
|
||||
</para>
|
||||
|
||||
@func: the function to be called to handle error messages.
|
||||
@Returns: the old error handler.
|
||||
|
||||
<!-- ##### FUNCTION g_set_message_handler ##### -->
|
||||
<para>
|
||||
Sets the function to be called to handle messages.
|
||||
This function is deprecated in favour of the new logging facilities.
|
||||
</para>
|
||||
|
||||
@func: the function to be called to handle normal messages.
|
||||
@Returns: the old message handler.
|
||||
|
||||
<!-- ##### FUNCTION g_set_warning_handler ##### -->
|
||||
<para>
|
||||
Sets the function to be called to handle warning messages.
|
||||
This function is deprecated in favour of the new logging facilities.
|
||||
</para>
|
||||
|
||||
@func: the function to be called to handle warning messages.
|
||||
@Returns: the old warning handler.
|
||||
|
||||
<!-- ##### FUNCTION g_source_add ##### -->
|
||||
<para>
|
||||
</para>
|
||||
|
@@ -242,49 +242,3 @@ stderr is used for levels %G_LOG_LEVEL_ERROR, %G_LOG_LEVEL_CRITICAL, and
|
||||
@unused_data: data passed from g_log which is unused.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_set_error_handler ##### -->
|
||||
<para>
|
||||
Sets the function to be called to handle error messages.
|
||||
This function is deprecated in favour of the new logging facilities.
|
||||
</para>
|
||||
|
||||
@func: the function to be called to handle error messages.
|
||||
@Returns: the old error handler.
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GErrorFunc ##### -->
|
||||
<para>
|
||||
Specifies the type of function passed to g_set_error_handler().
|
||||
</para>
|
||||
|
||||
@str: the error message.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_set_warning_handler ##### -->
|
||||
<para>
|
||||
Sets the function to be called to handle warning messages.
|
||||
This function is deprecated in favour of the new logging facilities.
|
||||
</para>
|
||||
|
||||
@func: the function to be called to handle warning messages.
|
||||
@Returns: the old warning handler.
|
||||
|
||||
|
||||
<!-- ##### USER_FUNCTION GWarningFunc ##### -->
|
||||
<para>
|
||||
Specifies the type of function passed to g_set_warning_handler().
|
||||
</para>
|
||||
|
||||
@str: the warning message.
|
||||
|
||||
|
||||
<!-- ##### FUNCTION g_set_message_handler ##### -->
|
||||
<para>
|
||||
Sets the function to be called to handle messages.
|
||||
This function is deprecated in favour of the new logging facilities.
|
||||
</para>
|
||||
|
||||
@func: the function to be called to handle normal messages.
|
||||
@Returns: the old message handler.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user