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:
parent
338ba10ca2
commit
4bb48e56d2
@ -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 ()));
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user