Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2007-04-20 07:08:14 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-04-20 07:08:14 (GMT)
commitfb53dffc05b5bf6f767a6b33abf6eabb627e7644 (patch)
tree7b6721376e3d98c80a7ae97fbed925b617b155bb /shell/main.c
parent13380e3af645c5597e22cc8e35d23acf3c7b4695 (diff)
Developers documentation updated.
2007-04-20 Iñigo Martínez <inigomartinez@gmail.com> * shell/ev-application.c: * shell/ev-job-queue.c: * shell/ev-metadata-manager.c: * shell/ev-stock-icons.c: * shell/ev-window.c: * shell/main.c: Developers documentation updated. svn path=/trunk/; revision=2410
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 3abe4cd..932e327 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -66,6 +66,24 @@ value_free (GValue *value)
g_free (value);
}
+/**
+ * arguments_parse:
+ *
+ * Parses the arguments and creates a #GHashTable with this data.
+ *
+ * key -> value
+ *
+ * dislay -> display at the default screen.
+ * screen -> screen number.
+ * page-label -> only if the page label argument has been passed,
+ * the page of the document to display.
+ * mode -> only if the view mode is one of the availables,
+ * the view mode.
+ * unlink-temp-file -> only if the view mode is preview mode and
+ * unlink-temp-file has been passed, unlink-temp-file.
+ *
+ * Returns: a pointer into #GHashTable with data from the arguments.
+ */
static GHashTable *
arguments_parse (void)
{