Commit d654ff92 authored by Daniel García Moreno's avatar Daniel García Moreno

Enable checks in release to avoid crash

The G_DISABLE_CHECKS flag disables all the g_return_if_fail functions
and we're using that kind of function for early returns when the param
aren't correct so we need to remove that to make the app works in
release mode.
parent ad25b365
Pipeline #38034 failed with stage
in 7 minutes and 59 seconds
......@@ -81,7 +81,7 @@ if gtr_debug
elif gtr_buildtype == 'release'
common_flags += [
'-DG_DISABLE_ASSERT',
'-DG_DISABLE_CHECKS',
#'-DG_DISABLE_CHECKS',
'-DG_DISABLE_CAST_CHECKS',
]
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment