[snappy] snappy: recover displaying --help



commit d8a399b8fc7df803fab1e11e80030f7099e70010
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Sat Dec 21 15:21:33 2013 -0500

    snappy: recover displaying --help

 src/snappy.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/snappy.c b/src/snappy.c
index a611f6f..f999f4d 100644
--- a/src/snappy.c
+++ b/src/snappy.c
@@ -177,6 +177,12 @@ main (int argc, char *argv[])
   SnappyMP *mp_obj = NULL;
 #endif
 
+  context = g_option_context_new ("<media file> - Play movie files");
+
+  /* Process command arguments */
+  uri_list = process_args (argc, argv, &blind, &fullscreen, &hide,
+      &loop, &secret, &suburi, &tags, context);
+
   ci_err = gtk_clutter_init (&argc, &argv);
   if (ci_err != CLUTTER_INIT_SUCCESS)
     goto quit;
@@ -209,12 +215,6 @@ main (int argc, char *argv[])
     }
   }
 
-  context = g_option_context_new ("<media file> - Play movie files");
-
-  /* Process command arguments */
-  uri_list = process_args (argc, argv, &blind, &fullscreen, &hide,
-      &loop, &secret, &suburi, &tags, context);
-
   /* User Interface */
   ui = g_new (UserInterface, 1);
   ui->uri_list = uri_list;


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