From 4bb48e56d204b8a2b06624ec97c4adcca856234b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 17 Oct 2011 11:20:34 -0400 Subject: [PATCH] Drop deprecated g_thread_init call GThread will automatically initialize at program start now. https://bugzilla.gnome.org/show_bug.cgi?id=662011 --- src/run-js-test.c | 2 -- src/test-recorder.c | 1 - 2 files changed, 3 deletions(-) diff --git a/src/run-js-test.c b/src/run-js-test.c index 04e9d7f22..5ee6ac869 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -73,8 +73,6 @@ main(int argc, char **argv) gsize len; int code; - g_thread_init (NULL); - gtk_init (&argc, &argv); clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); diff --git a/src/test-recorder.c b/src/test-recorder.c index 655c887db..e443322a5 100644 --- a/src/test-recorder.c +++ b/src/test-recorder.c @@ -29,7 +29,6 @@ int main (int argc, char **argv) ClutterAnimation *animation; ClutterColor red, green, blue; - g_thread_init (NULL); gst_init (&argc, &argv); if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) return 1;