[perl-Glib-Object-Introspection] Add a FIXME comment



commit c469617d3fc20d4e933ef26d3ca393e9b70197e3
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Thu Jun 2 22:36:56 2011 +0200

    Add a FIXME comment

 GObjectIntrospection.xs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index d50ce58..5150a56 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -1586,6 +1586,8 @@ create_callback_closure (GITypeInfo *cb_type, SV *code)
 	info->closure =
 		g_callable_info_prepare_closure (info->interface, info->cif,
 		                                 invoke_callback, info);
+	/* FIXME: This should most likely use SvREFCNT_inc instead of
+	 * newSVsv. */
 	info->code = newSVsv (code);
 
 #ifdef PERL_IMPLICIT_CONTEXT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]