Update to work with latest Gtk# trunk
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 30 Jul 2009 12:20:54 +0000 (14:20 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 30 Jul 2009 12:20:54 +0000 (14:20 +0200)
We only need a single patch now that should be committed soon
to trunk.

README
gstreamer-sharp/Application.cs

diff --git a/README b/README
index 62c0e5acd6c2f87d9fb0de6a4a7c6404078dbf83..6b84a8ec34c361a0141617b20ece0d95a3e2dfad 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,4 @@
 To build this Gtk# from trunk is required and the following patches:
 
-http://bugzilla.novell.com/show_bug.cgi?id=497667
 http://bugzilla.novell.com/show_bug.cgi?id=499900
 
index 80da1fc44644252a59460b7f93522cb32b30acf5..25cd48b369f7516c771ec7ec159df23650a43bfc 100644 (file)
@@ -57,7 +57,7 @@ namespace Gst {
       gst_deinit();
     }
 
-    private static System.Type GstTypeResolver (GLib.GType gtype, string gtype_name) {
+    private static System.Type GstResolveType (GLib.GType gtype, string gtype_name) {
       Assembly[] assemblies = (Assembly[]) AppDomain.CurrentDomain.GetAssemblies ().Clone ();
 
       foreach (Assembly asm in assemblies) {
@@ -102,7 +102,7 @@ namespace Gst {
     }
 
     private static void RegisterManagedTypes() {
-      GLib.GType.TypeResolver += GstTypeResolver;
+      GLib.GType.ResolveType += GstResolveType;
 
       GLib.GType.Register (Fraction.GType, typeof (Fraction));
       GLib.GType.Register (IntRange.GType, typeof (IntRange));