[gegl/soc-2013-opecl-ops] Remove deprecated calls to g_type_init ()
- From: Carlos Zubieta <czubieta src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/soc-2013-opecl-ops] Remove deprecated calls to g_type_init ()
- Date: Wed, 11 Sep 2013 12:23:13 +0000 (UTC)
commit ee1e1a6f54421411407f1103073dcb2ee90685fc
Author: Michael Henning <drawoc darkrefraction com>
Date: Wed Aug 14 11:01:00 2013 -0400
Remove deprecated calls to g_type_init ()
gegl/gegl-init.c | 1 -
tests/simple/test-gegl-tile.c | 1 -
tests/simple/test-path.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index 01db56b..e0bd90b 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -505,7 +505,6 @@ gegl_post_parse_hook (GOptionContext *context,
{
g_assert (global_time == 0);
global_time = gegl_ticks ();
- g_type_init ();
babl_init ();
if (g_getenv ("GEGL_DEBUG_TIME") != NULL)
diff --git a/tests/simple/test-gegl-tile.c b/tests/simple/test-gegl-tile.c
index 374a5e8..14e4b33 100644
--- a/tests/simple/test-gegl-tile.c
+++ b/tests/simple/test-gegl-tile.c
@@ -80,7 +80,6 @@ int
main (int argc,
char **argv)
{
- g_type_init ();
gegl_init (&argc, &argv);
g_test_init (&argc, &argv, NULL);
diff --git a/tests/simple/test-path.c b/tests/simple/test-path.c
index bdb73cf..7b217ea 100644
--- a/tests/simple/test-path.c
+++ b/tests/simple/test-path.c
@@ -101,7 +101,6 @@ int main(int argc, char *argv[])
int i=1, j=1;
GeglPath *path = NULL;
- g_type_init();
gegl_init (&argc, &argv);
distribute (0.0, NSMP ,exp_y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]