GNOME Bugzilla – Bug 649644
GLog function bindings are missing return values
Last modified: 2018-05-22 14:02:26 UTC
Created attachment 187417 [details] [review] Patch Hi! In glib-2.0.vapi, Log.set_default_handler(), Log.set_fatal_mask() and Log.set_always_fatal() have return values that are missing in the vapi. They return the old value of the settings, which is very useful to temporarily change the log level, when trying to trap warnings in unit tests etc. Patch attached.
commit a92b2cf1eb119d259abe5ce63898450060c46928 Author: Sam Thursfield <ssssam@gmail.com> Date: Thu May 12 16:00:26 2011 +0200 glib-2.0: Fix Log.set_fatal_mask and set_always_fatal bindings Partially fixes bug 649644. set_default_handler is "unbindable" at the moment because Vala doesn't support methods returning no user_data.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/199.