Update to work with latest Gtk# trunk

We only need a single patch now that should be committed soon
to trunk.
This commit is contained in:
Sebastian Dröge 2009-07-30 14:20:54 +02:00
parent 234fcbc1e7
commit b8c0efd290
2 changed files with 2 additions and 3 deletions

1
README
View file

@ -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

View 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));