diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-07-30 14:20:54 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-07-30 14:20:54 +0200 |
commit | b8c0efd290c0f883a14d4720b45e05195da1b1f5 (patch) | |
tree | 88ae1d1dd62c5875a9c6983c4cab6b18eb3fab34 | |
parent | 234fcbc1e79af921c5a90562fb346844603dcdd6 (diff) |
Update to work with latest Gtk# trunk
We only need a single patch now that should be committed soon
to trunk.
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | gstreamer-sharp/Application.cs | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -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 diff --git a/gstreamer-sharp/Application.cs b/gstreamer-sharp/Application.cs index 80da1fc..25cd48b 100644 --- a/gstreamer-sharp/Application.cs +++ b/gstreamer-sharp/Application.cs @@ -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)); |