From e88f6d01b6c0c16b331d578638b1d7e088048a0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 14 May 2009 21:37:19 +0200 Subject: [PATCH] Update for latest version of the GType mapping patch --- gstreamer-sharp/Application.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gstreamer-sharp/Application.cs b/gstreamer-sharp/Application.cs index c61d5f5..0ca5826 100644 --- a/gstreamer-sharp/Application.cs +++ b/gstreamer-sharp/Application.cs @@ -56,7 +56,7 @@ namespace Gst { gst_deinit(); } - private static System.Type GstTypeMapping (GLib.GType gtype, string gtype_name) { + private static System.Type GstTypeResolver (GLib.GType gtype, string gtype_name) { Assembly[] assemblies = (Assembly[]) AppDomain.CurrentDomain.GetAssemblies ().Clone (); foreach (Assembly asm in assemblies) { @@ -101,7 +101,7 @@ namespace Gst { } private static void RegisterManagedTypes() { - GLib.GType.GTypeMapping += GstTypeMapping; + GLib.GType.TypeResolver += GstTypeResolver; GLib.GType t; -- 2.7.4