[libglib-perl] 01/11: Disable the warning message when handing callbacks over to the main loop

Intrigeri intrigeri at moszumanska.debian.org
Thu Mar 19 13:29:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libglib-perl.

commit 79bfcbe94b2ba08723cf34c67a3710d9667192d3
Author: Torsten Schönfeld <kaffeetisch at 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(+)

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)
 ==========================================
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libglib-perl.git



More information about the Pkg-perl-cvs-commits mailing list