[perl-Glib] Disable the warning message when handing callbacks over to the main loop
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib] Disable the warning message when handing callbacks over to the main loop
- Date: Sat, 10 May 2014 23:20:40 +0000 (UTC)
commit 79bfcbe94b2ba08723cf34c67a3710d9667192d3
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Sun May 11 01:00:17 2014 +0200
Disable the warning message when handing callbacks over to the main loop
There have been no reports of breakage due to this mechanism. But there have
been requests to disable the warning. Comply.
GClosure.xs | 2 ++
NEWS | 5 +++++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/GClosure.xs b/GClosure.xs
index e8eb148..2b1a91a 100644
--- a/GClosure.xs
+++ b/GClosure.xs
@@ -98,8 +98,10 @@ gperl_closure_marshal (GClosure * closure,
* use perl_clone to create a new Perl interpreter from the main one.
*/
if (INVOKED_FROM_FOREIGN_THREAD) {
+#ifdef NOISY
g_printerr ("*** GPerl asked to invoke callback from a foreign thread; "
"handing it over to the main loop\n");
+#endif
_closure_hand_to_main (closure, return_value,
n_param_values, param_values,
invocation_hint, marshal_data);
diff --git a/NEWS b/NEWS
index d19d7a7..4723516 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+Overview of changes in Glib <next>
+==========================================
+
+* Disable the warning message when handing callbacks over to the main loop.
+
Overview of changes in Glib 1.304 (stable)
==========================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]