fix: remove warning by not calling g_type_init() with glib > 2.36 as it's deprecated
This commit is contained in:
parent
93b9b59e8f
commit
c141a04ec0
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue