[perl-Glib/gio-support: 3/12] [gio] Fix interface handling in sv_to_pointer



commit d06de4f9ac148787a4134b13ce2dae4f6ceb190f
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Wed Mar 3 00:01:06 2010 +0100

    [gio] Fix interface handling in sv_to_pointer

 GObjectIntrospection.xs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index 85d23ac..ed8ee60 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -119,6 +119,7 @@ sv_to_pointer (GITypeInfo* info, SV *sv)
 
 	switch (info_type) {
 	    case GI_INFO_TYPE_OBJECT:
+	    case GI_INFO_TYPE_INTERFACE:
 		pointer = gperl_get_object (sv);
 		break;
 



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