diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt
index 552f400ebe..b7ab308338 100644
--- a/docs/gst/gstreamer-sections.txt
+++ b/docs/gst/gstreamer-sections.txt
@@ -509,6 +509,7 @@ gst_plugin_is_loaded
gst_plugin_load_all
gst_plugin_load
gst_plugin_load_absolute
+gst_plugin_add_path
gst_library_load
gst_plugin_add_factory
gst_plugin_add_type
diff --git a/docs/gst/tmpl/gstplugin.sgml b/docs/gst/tmpl/gstplugin.sgml
index 802959e05a..b281b08a9f 100644
--- a/docs/gst/tmpl/gstplugin.sgml
+++ b/docs/gst/tmpl/gstplugin.sgml
@@ -133,6 +133,14 @@ by the loader at statup.
@Returns:
+
+
+
+
+
+@path:
+
+
diff --git a/docs/gst/tmpl/gstreamer-unused.sgml b/docs/gst/tmpl/gstreamer-unused.sgml
index 1740957e0d..9f76b0b77e 100644
--- a/docs/gst/tmpl/gstreamer-unused.sgml
+++ b/docs/gst/tmpl/gstreamer-unused.sgml
@@ -65,14 +65,6 @@ Query the element for the current mime type
-
-
-
-
-
-@pad:
-@buf:
-
@@ -81,6 +73,14 @@ Query the element for the current mime type
@pad:
@parent:
+
+
+
+
+
+@pad:
+@buf:
+
This macro usets the given flags.
diff --git a/docs/manual/debugging.sgml b/docs/manual/debugging.sgml
index da1003be20..aae503c5ab 100644
--- a/docs/manual/debugging.sgml
+++ b/docs/manual/debugging.sgml
@@ -26,6 +26,17 @@
Sets the mask for the info output.
+
+
+
+ Enable printout of errors while loading GST plugins.
+
+
+
+
+
+ Add a directory to the plugin search path.
+
Print the a short desciption of the
diff --git a/gst/gstplugin.c b/gst/gstplugin.c
index d73af66386..68fdb75d55 100644
--- a/gst/gstplugin.c
+++ b/gst/gstplugin.c
@@ -99,6 +99,12 @@ _gst_plugin_initialize (void)
xmlFreeDoc (doc);
}
+/**
+ * gst_plugin_add_path:
+ * @path: the directory to add to the search path
+ *
+ * Add a directory to the path searched for plugins.
+ */
void
gst_plugin_add_path (const gchar *path)
{