Annoying gtk likes to spew annoying deprecated warnings.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
* Without it, the update that happens in gfio_update_thread_status
* doesn't really happen in a timely fashion, you need expose events
*/
* Without it, the update that happens in gfio_update_thread_status
* doesn't really happen in a timely fashion, you need expose events
*/
+#if !GTK_CHECK_VERSION(2, 24, 0)
if (!g_thread_supported())
g_thread_init(NULL);
if (!g_thread_supported())
g_thread_init(NULL);
gdk_threads_init();
gtk_init(argc, argv);
gdk_threads_init();
gtk_init(argc, argv);