[gnome-shell] Drop deprecated g_thread_init call
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Drop deprecated g_thread_init call
- Date: Tue, 18 Oct 2011 20:36:02 +0000 (UTC)
commit 4bb48e56d204b8a2b06624ec97c4adcca856234b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Oct 17 11:20:34 2011 -0400
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, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/run-js-test.c b/src/run-js-test.c
index 04e9d7f..5ee6ac8 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 655c887..e443322 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]