fix: remove warning by not calling g_type_init() with glib > 2.36 as it's deprecated

This commit is contained in:
Benjamin Dauvergne 2014-03-25 07:31:42 +01:00
parent 93b9b59e8f
commit c141a04ec0
1 changed files with 2 additions and 0 deletions

View File

@ -149,7 +149,9 @@ int lasso_init()
{
int i;
#ifndef GLIB_VERSION_2_36
g_type_init();
#endif
/* Init Lasso classes */
for (i=0; functions[i]; i++)