[glib] GShell: move docs from tmpl to .c



commit 0ab7bb4b18908813b484514b8d2f597d962dd3c7
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Jan 30 22:15:35 2010 -0500

    GShell: move docs from tmpl to .c

 docs/reference/glib/tmpl/.gitignore |    1 +
 docs/reference/glib/tmpl/shell.sgml |   68 -----------------------------------
 glib/gshell.c                       |   22 +++++++++++
 3 files changed, 23 insertions(+), 68 deletions(-)
---
diff --git a/docs/reference/glib/tmpl/.gitignore b/docs/reference/glib/tmpl/.gitignore
index 1edcd06..fd5ae42 100644
--- a/docs/reference/glib/tmpl/.gitignore
+++ b/docs/reference/glib/tmpl/.gitignore
@@ -5,5 +5,6 @@ gvarianttype.sgml
 hash_tables.sgml
 option.sgml
 random_numbers.sgml
+shell.sgml
 threads.sgml
 timers.sgml
diff --git a/glib/gshell.c b/glib/gshell.c
index 711cdee..d3b76f4 100644
--- a/glib/gshell.c
+++ b/glib/gshell.c
@@ -33,6 +33,28 @@
 #include "glibintl.h"
 #include "galias.h"
 
+/**
+ * SECTION: shell
+ * @title: Shell-related Utilities
+ * @short_description: shell-like commandline handling
+ **/
+
+/**
+ * G_SHELL_ERROR:
+ *
+ * Error domain for shell functions. Errors in this domain will be from
+ * the #GShellError enumeration. See #GError for information on error
+ * domains.
+ **/
+
+/**
+ * GShellError:
+ * @G_SHELL_ERROR_BAD_QUOTING: Mismatched or otherwise mangled quoting.
+ * @G_SHELL_ERROR_EMPTY_STRING: String to be parsed was empty.
+ * @G_SHELL_ERROR_FAILED: Some other error.
+ *
+ * Error codes returned by shell functions.
+ **/
 GQuark
 g_shell_error_quark (void)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]