summaryrefslogtreecommitdiff
path: root/clutter
diff options
context:
space:
mode:
authorSebastian Keller <skeller@gnome.org>2023-03-21 00:52:39 +0100
committerMarge Bot <marge-bot@gnome.org>2023-03-24 12:51:49 +0000
commit679d2fb4e069ac7fbb021dda24f97fdc875274fb (patch)
treed781f7f6d5cb6e56e2a5f2ffd7843525db6d6880 /clutter
parentd6af73ba68bb6d51cf3e6712a3d43ff0c79a377c (diff)
downloadmutter-679d2fb4e069ac7fbb021dda24f97fdc875274fb.tar.gz
build: Don't disable checks in release builds
Both Clutter and Cogl use g_return(_val)_if_fail() to safeguard introspected API. Release builds were dropping these checks, which could result in a much more crashy experience, especially when considering extensions, but also due to bugs in the shell code itself. This won't affect any major distro, because they all use "plain" builds. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2930>
Diffstat (limited to 'clutter')
-rw-r--r--clutter/meson.build1
1 files changed, 0 insertions, 1 deletions
diff --git a/clutter/meson.build b/clutter/meson.build
index 918153ee4..07256486b 100644
--- a/clutter/meson.build
+++ b/clutter/meson.build
@@ -21,7 +21,6 @@ if get_option('debug')
elif buildtype != 'plain'
clutter_debug_c_args += [
'-DG_DISABLE_ASSERT',
- '-DG_DISABLE_CHECKS',
'-DG_DISABLE_CAST_CHECKS',
]
endif