]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
add GLogFunc and g_log_set_handler bindings, patch by Nicolas Joseph,
authorJuerg Billeter <j@bitron.ch>
Fri, 23 May 2008 09:35:29 +0000 (09:35 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Fri, 23 May 2008 09:35:29 +0000 (09:35 +0000)
2008-05-23  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add GLogFunc and g_log_set_handler bindings,
patch by Nicolas Joseph, fixes bug 533601

svn path=/trunk/; revision=1408

ChangeLog
vapi/glib-2.0.vapi

index 03e07e262e87960074bfc4b6635b82ff9d1d904a..7468afaa3b184a28f28a887e7922cdeccd14b510 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-23  Jürg Billeter  <j@bitron.ch>
+
+       * vapi/glib-2.0.vapi: add GLogFunc and g_log_set_handler bindings,
+       patch by Nicolas Joseph, fixes bug 533601
+
 2008-05-23  Jürg Billeter  <j@bitron.ch>
 
        * vapi/packages/gnome-keyring-1/: nullable fixes,
index c395b56042e7622b7b7294ea3ccbc63645e1db49..5b696b389f3a9af454ce5ef543151918c5846f2d 100644 (file)
@@ -1530,6 +1530,12 @@ namespace GLib {
        [PrintfFormat]
        public void debug (string format, ...);
 
+       public delegate void LogFunc (string? log_domain, LogLevelFlags log_levels, string message);
+
+       namespace Log {
+               public uint set_handler (string? log_domain, LogLevelFlags log_levels, LogFunc log_func);
+       }
+
        /* String Utility Functions */
 
        [NoArrayLength]