[mutter] mutter: Don't call g_type_init



commit 62dbaa89ca0754702d7aa553a8332b3a2870da3b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Nov 2 11:44:37 2012 -0400

    mutter: Don't call g_type_init
    
    It has been deprecated upstream.

 src/core/mutter.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/core/mutter.c b/src/core/mutter.c
index 0c8907a..feb617b 100644
--- a/src/core/mutter.c
+++ b/src/core/mutter.c
@@ -69,8 +69,6 @@ main (int argc, char **argv)
   GOptionContext *ctx;
   GError *error = NULL;
 
-  g_type_init ();
-
   ctx = meta_get_option_context ();
   g_option_context_add_main_entries (ctx, mutter_options, GETTEXT_PACKAGE);
   if (!g_option_context_parse (ctx, &argc, &argv, &error))



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