mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
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:
parent
234fcbc1e7
commit
b8c0efd290
2 changed files with 2 additions and 3 deletions
1
README
1
README
|
@ -1,5 +1,4 @@
|
||||||
To build this Gtk# from trunk is required and the following patches:
|
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
|
http://bugzilla.novell.com/show_bug.cgi?id=499900
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace Gst {
|
||||||
gst_deinit();
|
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 ();
|
Assembly[] assemblies = (Assembly[]) AppDomain.CurrentDomain.GetAssemblies ().Clone ();
|
||||||
|
|
||||||
foreach (Assembly asm in assemblies) {
|
foreach (Assembly asm in assemblies) {
|
||||||
|
@ -102,7 +102,7 @@ namespace Gst {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void RegisterManagedTypes() {
|
private static void RegisterManagedTypes() {
|
||||||
GLib.GType.TypeResolver += GstTypeResolver;
|
GLib.GType.ResolveType += GstResolveType;
|
||||||
|
|
||||||
GLib.GType.Register (Fraction.GType, typeof (Fraction));
|
GLib.GType.Register (Fraction.GType, typeof (Fraction));
|
||||||
GLib.GType.Register (IntRange.GType, typeof (IntRange));
|
GLib.GType.Register (IntRange.GType, typeof (IntRange));
|
||||||
|
|
Loading…
Reference in a new issue