[sushi] main: no need to init threads manually



commit 0fbefa53998215b9269947897494aaf467d3a2e7
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Apr 20 16:15:44 2011 -0400

    main: no need to init threads manually
    
    GObject already does this for us.

 configure.ac |    1 -
 src/main.c   |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5ef4cf5..cf2cda2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,6 @@ GDK_PIXBUF_MIN_VERSION=2.22.1
 
 PKG_CHECK_MODULES(SUSHI,
                   glib-2.0 >= $GLIB_MIN_VERSION
-                  gthread-2.0
                   gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
                   gjs-1.0 >= $GJS_MIN_VERSION
                   gjs-dbus-1.0 >= $GJS_MIN_VERSION
diff --git a/src/main.c b/src/main.c
index a36236e..bae9faf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -114,7 +114,6 @@ main (int argc, char **argv)
   GtkSettings *settings;
   GError *error;
 
-  g_thread_init (NULL);
   clutter_x11_set_use_argb_visual (TRUE);
   gtk_clutter_init (&argc, &argv);
   clutter_gst_init (0, NULL);



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