[Gtk-sharp-list] GStreamer bindings

Owen Fraser-Green owen@discobabe.net
Sun, 18 Apr 2004 00:30:20 +0200


--=-mQ3Xq/6JKJGW1aAhctrV
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

I've got the gstreamer bindings in gtk-sharp working again against the
latest gstreamer release. Could I have CVS access to commit the changes?

All the the changes affect only the gstreamer bindings except one which
was needed to the gapi-codegen source to avoid an infinite loop
occurring because of a recursive function with no base case. I've
attached that change as a patch for inspection.

Cheers,
Owen


--=-mQ3Xq/6JKJGW1aAhctrV
Content-Disposition: attachment; filename=ClassBase.cs.patch
Content-Type: text/x-diff; name=ClassBase.cs.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

--- ClassBase.cs.~1.23.~	2004-04-07 21:15:01.000000000 +0200
+++ ClassBase.cs	2004-04-18 00:25:16.766253959 +0200
@@ -39,7 +39,11 @@
 		public ClassBase Parent {
 			get {
 				string parent = Elem.GetAttribute("parent");
-				return SymbolTable.Table.GetClassGen(parent);
+
+				if (parent == "")
+					return null;
+				else
+					return SymbolTable.Table.GetClassGen(parent);
 			}
 		}
 

--=-mQ3Xq/6JKJGW1aAhctrV--