[snappy] initialize gtk-clutter sooner



commit 66be2be956f40fc3735c7843166e039e4a4f2d02
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Tue Dec 4 11:56:32 2012 -0500

    initialize gtk-clutter sooner

 src/snappy.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/snappy.c b/src/snappy.c
index e90a705..445846d 100644
--- a/src/snappy.c
+++ b/src/snappy.c
@@ -175,6 +175,8 @@ main (int argc, char *argv[])
   SnappyMP *mp_obj = NULL;
 #endif
 
+  gtk_clutter_init (&argc, &argv);
+
 
   /* Try to find the path for our resources in case snappy was relocated */
   data_dir = g_strdup(SNAPPY_DATA_DIR);
@@ -252,7 +254,6 @@ main (int argc, char *argv[])
   uri = g_list_first (uri_list)->data;
 
   /* Load engine and start interface */
-  gtk_clutter_init (&argc, &argv);
   engine_load_uri (engine, uri);
   interface_start (ui, uri);
 



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