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 03e07e2..7468afa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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,
        patch by Andrea Del Signore, fixes bug 533278
 
index c395b56..5b696b3 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]