summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-30 14:20:54 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-07-30 14:20:54 +0200
commitb8c0efd290c0f883a14d4720b45e05195da1b1f5 (patch)
tree88ae1d1dd62c5875a9c6983c4cab6b18eb3fab34
parent234fcbc1e79af921c5a90562fb346844603dcdd6 (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--README1
-rw-r--r--gstreamer-sharp/Application.cs4
2 files changed, 2 insertions, 3 deletions
diff --git a/README b/README
index 62c0e5a..6b84a8e 100644
--- 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
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));