[gnome-games/gnibbles-clutter] Properly using setgid_io_init



commit 71547fa4f286379897bdb9bb9f1c1e10f72619da
Author: Guillaume Beland <guillaume beland gmail com>
Date:   Fri Sep 11 20:23:22 2009 -0400

    Properly using setgid_io_init

 gnibbles/main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnibbles/main.c b/gnibbles/main.c
index 50cefae..f844742 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -997,8 +997,6 @@ main (int argc, char **argv)
   GOptionContext *context;
   gboolean retval;
   GError *error = NULL;
-  
-  gtk_clutter_init (&argc, &argv);
 
   if (!games_runtime_init ("gnibbles"))
     return 1;
@@ -1007,6 +1005,7 @@ main (int argc, char **argv)
   setgid_io_init ();
 #endif
 
+  gtk_clutter_init (&argc, &argv);
   context = g_option_context_new (NULL);
 
 #if GLIB_CHECK_VERSION (2, 12, 0)



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