GNOME Bugzilla – Bug 740516
RFE: please provide an introspectible version of g_log_set_handler
Last modified: 2015-06-11 02:03:54 UTC
The workaround suggested for the problem described in bug 737282 was to install a log handler and take action on the messages logged by gdk_x_io_error. This is not possible, because g_log_set_handler is not introspectible. Please add a version that is to the GLib API.
Created attachment 291763 [details] [review] Add g_log_set_handler_full This is a bindable version of g_log_set_handler that takes a destroy notify for the user_data.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Any update on this? The patch seems fine to me, and this would still be nice to have.
Review of attachment 291763 [details] [review]: Looks fine to me. ::: glib/gmessages.c @@ +576,3 @@ + +/** + * g_log_set_handler_full: Might as well (rename-to g_log_set_handler)
Attachment 291763 [details] pushed as 2471d9c - Add g_log_set_handler_full