[gegl-gtk] remove uneeded g_thread_init from examples that may break linking



commit 274b8981dbd809697931893a49531b1da9f16b9e
Author: Michael Murà <batolettre gmail com>
Date:   Wed Apr 18 21:22:30 2012 +0900

    remove uneeded g_thread_init from examples that may break linking

 examples/c/gegl-gtk-basic.c      |    1 -
 examples/c/gegl-gtk-display-op.c |    1 -
 examples/c/gegl-gtk-paint.c      |    1 -
 examples/c/gegl-gtk-scroll.c     |    1 -
 examples/c/gegl-gtk-transform.c  |    1 -
 examples/c/gegl-gtk-warp.c       |    1 -
 6 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/examples/c/gegl-gtk-basic.c b/examples/c/gegl-gtk-basic.c
index 1c5c487..0188f57 100644
--- a/examples/c/gegl-gtk-basic.c
+++ b/examples/c/gegl-gtk-basic.c
@@ -32,7 +32,6 @@ main(gint    argc,
     GeglNode *graph = NULL;
     GeglNode *node = NULL;
 
-    g_thread_init(NULL);
     gtk_init(&argc, &argv);
     gegl_init(&argc, &argv);
 
diff --git a/examples/c/gegl-gtk-display-op.c b/examples/c/gegl-gtk-display-op.c
index 2c0ff72..12aa0d9 100644
--- a/examples/c/gegl-gtk-display-op.c
+++ b/examples/c/gegl-gtk-display-op.c
@@ -29,7 +29,6 @@ main(gint    argc,
     GeglNode *node = NULL;
     GeglNode *display = NULL;
 
-    g_thread_init(NULL);
     gegl_init(&argc, &argv);
 
     if (argc != 2) {
diff --git a/examples/c/gegl-gtk-paint.c b/examples/c/gegl-gtk-paint.c
index 405863e..eaab947 100644
--- a/examples/c/gegl-gtk-paint.c
+++ b/examples/c/gegl-gtk-paint.c
@@ -176,7 +176,6 @@ gint
 main(gint    argc,
      gchar **argv)
 {
-    g_thread_init(NULL);
     gtk_init(&argc, &argv);
     gegl_init(&argc, &argv);
 
diff --git a/examples/c/gegl-gtk-scroll.c b/examples/c/gegl-gtk-scroll.c
index 367dd56..65f9620 100644
--- a/examples/c/gegl-gtk-scroll.c
+++ b/examples/c/gegl-gtk-scroll.c
@@ -33,7 +33,6 @@ main(gint    argc,
     GeglNode *graph = NULL;
     GeglNode *node = NULL;
 
-    g_thread_init(NULL);
     gtk_init(&argc, &argv);
     gegl_init(&argc, &argv);
 
diff --git a/examples/c/gegl-gtk-transform.c b/examples/c/gegl-gtk-transform.c
index a1f380c..3e52eed 100644
--- a/examples/c/gegl-gtk-transform.c
+++ b/examples/c/gegl-gtk-transform.c
@@ -55,7 +55,6 @@ main (gint    argc,
   GeglNode *graph = NULL;
   GeglNode *node = NULL;
 
-  g_thread_init (NULL);
   gtk_init (&argc, &argv);
   gegl_init (&argc, &argv);
 
diff --git a/examples/c/gegl-gtk-warp.c b/examples/c/gegl-gtk-warp.c
index 23802db..1ec1d31 100644
--- a/examples/c/gegl-gtk-warp.c
+++ b/examples/c/gegl-gtk-warp.c
@@ -173,7 +173,6 @@ main (gint    argc,
       return 0;
     }
 
-  g_thread_init (NULL);
   gtk_init (&argc, &argv);
   gegl_init (&argc, &argv);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]