[vala] glib-2.0: Make GLib.Log.default_handler a GLib.LogFunc
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Make GLib.Log.default_handler a GLib.LogFunc
- Date: Wed, 19 Jan 2011 23:26:14 +0000 (UTC)
commit cf5df5bc7d8358a59cdd58f5ab1a7c36347f401b
Author: Evan Nemerson <evan coeus-group com>
Date: Wed Jan 19 15:24:00 2011 -0800
glib-2.0: Make GLib.Log.default_handler a GLib.LogFunc
Fixes bug 638682.
vapi/glib-2.0.vapi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 5deec50..5ea94db 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2036,7 +2036,8 @@ namespace GLib {
namespace Log {
public static uint set_handler (string? log_domain, LogLevelFlags log_levels, LogFunc log_func);
public static void set_default_handler (LogFunc log_func);
- public static void default_handler (string? log_domain, LogLevelFlags log_level, string message, void* unused_data = null);
+ [CCode (delegate_target = "NULL")]
+ public static GLib.LogFunc default_handler;
public static void set_fatal_mask (string log_domain, LogLevelFlags log_levels);
public static void set_always_fatal (LogLevelFlags log_levels);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]