X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fplugins%2Fenv.c;h=75ba5701cf3f897b0920b81457ea0cae099be434;hp=fc1c7fe3b1c5ed5ed74a5583a39aaefde41d4c84;hb=c0b4943755d8601c969f57f52b996c1ea8731b1a;hpb=806530d2d0038a94c2ac3d8ff294444ad1bccb4f
diff --git a/src/plugins/env.c b/src/plugins/env.c
index fc1c7fe..75ba570 100644
--- a/src/plugins/env.c
+++ b/src/plugins/env.c
@@ -15,6 +15,15 @@
* along with this program. If not, see .
*/
+/**
+ * SECTION:env
+ * @short_description: Environment plugin
+ *
+ * #GisPluginEnv provides environmental information such as sky images. It can
+ * also paint a blank overlay on the surface so that other plugins can draw
+ * transparent overlays nicely.
+ */
+
#include
#include
#include
@@ -73,6 +82,15 @@ static void expose(GisCallback *callback, gpointer _env)
/***********
* Methods *
***********/
+/**
+ * gis_plugin_env_new:
+ * @viewer: the #GisViewer to use for drawing
+ * @prefs: the #GisPrefs for storing configurations
+ *
+ * Create a new instance of the environment plugin.
+ *
+ * Returns: the new #GisPluginEnv
+ */
GisPluginEnv *gis_plugin_env_new(GisViewer *viewer, GisPrefs *prefs)
{
g_debug("GisPluginEnv: new");