gstreamer_core/gst/gstpluginfeature.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
--- a/gstreamer_core/gst/gstpluginfeature.c	Tue Aug 31 15:30:33 2010 +0300
+++ b/gstreamer_core/gst/gstpluginfeature.c	Wed Sep 01 12:16:41 2010 +0100
@@ -81,14 +81,14 @@
  * unaffected; use the return value instead.
  *
  * Normally this function is used like this:
- * |[
+ *
+ * <programlisting>
  * 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;
- * ]|
+ * </programlisting>
  *
  * 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_CAST (feature), feature->name);
+  gst_object_set_name (GST_OBJECT (feature), feature->name);
 }
 
 /**