Drop deprecated g_thread_init call

GThread will automatically initialize at program start now.

https://bugzilla.gnome.org/show_bug.cgi?id=662011
This commit is contained in:
Jasper St. Pierre 2011-10-17 11:20:34 -04:00
parent 338ba10ca2
commit 4bb48e56d2
2 changed files with 0 additions and 3 deletions

View File

@ -73,8 +73,6 @@ main(int argc, char **argv)
gsize len; gsize len;
int code; int code;
g_thread_init (NULL);
gtk_init (&argc, &argv); gtk_init (&argc, &argv);
clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));

View File

@ -29,7 +29,6 @@ int main (int argc, char **argv)
ClutterAnimation *animation; ClutterAnimation *animation;
ClutterColor red, green, blue; ClutterColor red, green, blue;
g_thread_init (NULL);
gst_init (&argc, &argv); gst_init (&argc, &argv);
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1; return 1;