From: <sl...@ke...> - 2009-05-01 13:19:05
|
Module: gstreamer-sharp Branch: master Commit: d543e568dfabf3b4c41f041bd4a0a0d56965cb55 URL: http://cgit.freedesktop.org/gstreamer/gstreamer-sharp/commit/?id=d543e568dfabf3b4c41f041bd4a0a0d56965cb55 Author: Sebastian Dröge <seb...@co...> Date: Fri May 1 13:46:24 2009 +0200 Change NewFromString() methods to FromString() in Caps/Structure for consistence --- gstreamer-sharp/Gstreamer.metadata | 1 - gstreamer-sharp/Structure.custom | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/gstreamer-sharp/Gstreamer.metadata b/gstreamer-sharp/Gstreamer.metadata index 2f6894c..5888560 100644 --- a/gstreamer-sharp/Gstreamer.metadata +++ b/gstreamer-sharp/Gstreamer.metadata @@ -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> diff --git a/gstreamer-sharp/Structure.custom b/gstreamer-sharp/Structure.custom index 1a3d930..b8be1da 100644 --- a/gstreamer-sharp/Structure.custom +++ b/gstreamer-sharp/Structure.custom @@ -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); |