X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fmain.c;h=932e327979d8c8bce1cf3f3779747f328bb578e6;hb=8497f6813f18d359a857ec1ac841059dcc24e833;hp=3abe4cd2ea37ff7b542e5ab86824e8c575c10d56;hpb=ed4e0510d38ec1ae5fc999d58a52fc109220c33a;p=evince.git diff --git a/shell/main.c b/shell/main.c index 3abe4cd2..932e3279 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) {