From 647d0a6f2bf243c61f2b04f1e4bd93260b8d5cca Mon Sep 17 00:00:00 2001 From: infirit Date: Tue, 1 Jul 2014 14:24:58 +0200 Subject: Drop deprecated g_type_init, type initialized automatically. --- mate-dictionary/src/gdict-app.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'mate-dictionary/src/gdict-app.c') diff --git a/mate-dictionary/src/gdict-app.c b/mate-dictionary/src/gdict-app.c index 20a1ae06..6e9b3e8f 100644 --- a/mate-dictionary/src/gdict-app.c +++ b/mate-dictionary/src/gdict-app.c @@ -352,12 +352,6 @@ gdict_init (int *argc, char ***argv) { NULL }, }; - /* we must have GLib's type system up and running in order to create the - * singleton object for mate-dictionary; thus, we can't rely on - * mate_program_init() calling g_type_init() for us. - */ - g_type_init (); - g_assert (singleton == NULL); singleton = GDICT_APP (g_object_new (GDICT_TYPE_APP, NULL)); -- cgit v1.2.1