Fixed compilation with recent gapi changes Fixed missing namespace error in Version.cs

This commit is contained in:
Stephan Sundermann 2013-08-28 15:03:17 +02:00
parent a65a26c930
commit 70a42dea54
2 changed files with 1 additions and 3 deletions

View file

@ -51,7 +51,6 @@ namespace Gst {
public GLib.Value StreamStatusObject {
get {
Update ();
if(Type != MessageType.StreamStatus)
throw new ArgumentException ();
IntPtr raw_ret = gst_message_get_stream_status_object(Handle);
@ -59,7 +58,6 @@ namespace Gst {
return ret;
}
set {
Update ();
if(Type != MessageType.StreamStatus)
throw new ArgumentException ();
IntPtr native_value = GLib.Marshaller.StructureToPtrAlloc (value);

View file

@ -41,7 +41,7 @@ namespace Gst {
get {
if (version_string == null) {
IntPtr version_string_ptr = gst_version_string();
version_string = Gst.GLib.Marshaller.Utf8PtrToString (version_string_ptr);
version_string = GLib.Marshaller.Utf8PtrToString (version_string_ptr);
}
return version_string;