diff -r 9b2c3c7a1a9c -r 567bb019e3e3 gstreamer_core/gst/gstpluginfeature.c --- a/gstreamer_core/gst/gstpluginfeature.c Wed Mar 31 22:03:18 2010 +0300 +++ b/gstreamer_core/gst/gstpluginfeature.c Tue Aug 31 15:30:33 2010 +0300 @@ -81,14 +81,14 @@ * unaffected; use the return value instead. * * Normally this function is used like this: - * - * + * |[ * GstPluginFeature *loaded_feature; + * * loaded_feature = gst_plugin_feature_load (feature); * // presumably, we're no longer interested in the potentially-unloaded feature * gst_object_unref (feature); * feature = loaded_feature; - * + * ]| * * Returns: A reference to the loaded feature, or NULL on error. */ @@ -196,7 +196,7 @@ } else { feature->name = g_strdup (name); } - gst_object_set_name (GST_OBJECT (feature), feature->name); + gst_object_set_name (GST_OBJECT_CAST (feature), feature->name); } /**