Silence g_thread_init warning

This commit is contained in:
o9000 2015-07-12 17:54:40 +02:00
parent b3cdde78b1
commit 50a07df5d2

View file

@ -132,7 +132,10 @@ int main(int argc, char **argv)
GtkActionGroup *actionGroup;
gtk_init(&argc, &argv);
g_thread_init((NULL));
#if !GLIB_CHECK_VERSION(2, 31, 0)
g_thread_init(NULL);
#endif
{
gchar *tint2_config_dir = g_build_filename(g_get_user_config_dir(), "tint2", NULL);