[gnome-games] Properly using setgid_io_init



commit c8f47cb3883abc1a9d56afb6c07c9561bfa8ac75
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 f6fcc67..a344b53 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -996,8 +996,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;
@@ -1006,6 +1004,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]