Change NewFromString() methods to FromString() in Caps/Structure for consistence

This commit is contained in:
Sebastian Dröge 2009-05-01 13:46:24 +02:00
parent 61f212b6f6
commit d543e568df
2 changed files with 1 additions and 2 deletions

View file

@ -105,7 +105,6 @@
<attr path="/api/namespace/boxed[@name='Caps']/field[@name='Type']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Caps']/field[@name='Flags']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_from_string']/return-type" name="owned">true</attr>
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_from_string']" name="name">NewFromString</attr>
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_copy_nth']/return-type" name="owned">true</attr>
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_replace']" name="hidden">1</attr>
<attr path="/api/namespace/boxed[@name='Caps']/method[@cname='gst_caps_make_writable']" name="hidden">1</attr>

View file

@ -204,7 +204,7 @@ public string[] Fields {
}
}
public static Structure NewFromString (string structure) {
public static Structure FromString (string structure) {
IntPtr raw_string = GLib.Marshaller.StringToPtrGStrdup (structure);
IntPtr raw_ret = gst_structure_from_string (raw_string, IntPtr.Zero);
GLib.Marshaller.Free (raw_string);