mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 14:44:10 +00:00
mutter: Don't call g_type_init
It has been deprecated upstream.
This commit is contained in:
parent
b56396eca5
commit
62dbaa89ca
@ -69,8 +69,6 @@ main (int argc, char **argv)
|
|||||||
GOptionContext *ctx;
|
GOptionContext *ctx;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
g_type_init ();
|
|
||||||
|
|
||||||
ctx = meta_get_option_context ();
|
ctx = meta_get_option_context ();
|
||||||
g_option_context_add_main_entries (ctx, mutter_options, GETTEXT_PACKAGE);
|
g_option_context_add_main_entries (ctx, mutter_options, GETTEXT_PACKAGE);
|
||||||
if (!g_option_context_parse (ctx, &argc, &argv, &error))
|
if (!g_option_context_parse (ctx, &argc, &argv, &error))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user