diff --git a/src/core/main.c b/src/core/main.c index 4460e9bc1..b6593c165 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -381,8 +381,6 @@ meta_init (void) struct sigaction act; sigset_t empty_mask; GIOChannel *channel; - - g_type_init (); sigemptyset (&empty_mask); act.sa_handler = SIG_IGN; diff --git a/src/core/mutter.c b/src/core/mutter.c index 117a5491b..4c140d98e 100644 --- a/src/core/mutter.c +++ b/src/core/mutter.c @@ -69,6 +69,8 @@ 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))