diff options
author | infirit <[email protected]> | 2014-07-01 14:24:58 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-01 15:06:52 +0200 |
commit | 647d0a6f2bf243c61f2b04f1e4bd93260b8d5cca (patch) | |
tree | 9a4a55ef29d870e33b2da0c1e79794f2c948a20d | |
parent | 88214725a380c8616dbd11c0106c1a14e950f2ce (diff) | |
download | mate-utils-647d0a6f2bf243c61f2b04f1e4bd93260b8d5cca.tar.bz2 mate-utils-647d0a6f2bf243c61f2b04f1e4bd93260b8d5cca.tar.xz |
Drop deprecated g_type_init, type initialized automatically.
-rw-r--r-- | logview/tests/test-reader.c | 2 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-app.c | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/logview/tests/test-reader.c b/logview/tests/test-reader.c index a04d6835..e208a30b 100644 --- a/logview/tests/test-reader.c +++ b/logview/tests/test-reader.c @@ -48,8 +48,6 @@ callback (LogviewLog *log, int main (int argc, char **argv) { - g_type_init (); - loop = g_main_loop_new (NULL, FALSE); logview_log_create ("/var/log/dpkg.log.2.gz", callback, NULL); g_main_loop_run (loop); 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)); |